John Mayer has been taking commitment classes!

They’re back together and more loved-up than ever.

So how did Katy Perry, 28, manage to finally tame the wild beast that is John Mayer?

Well, she’s been sending him to boyfriend school.

Now’s learnt that Katy‘s asked her BF, 35, to take commitment classes with a renowned New York therapist to prove he can take their relationship seriously.

He’s been to two sessions since they reunited in May – and it’s already paying off.

On 6 July notorious ladies’ man John made a public declaration of love for Katy.

On stage on his Born And Raised tour in Milwaukee, he dedicated a song to her, saying: ‘She was so patient.

‘[She took time] to get to know me and love me.’

And we hear John has plans to take Katy on a romantic break next month to the £2,600-a-night Makena Kai Estate in Hawaii.

It was where they stayed late last year.

Katy and John first hooked up in August 2012 but have had an on-off romance, splitting up twice already, most recently in March.

Our source says: ‘He’s told her that he’s changed.

‘He’s finally ready to commit.’

Sounds like boyfriend school’s been a hit!

Read more about Katy Perry and John Mayer in this week’s Now magazine dated 22 July 2013 – download the digital edition now!

 30-Cover-WEB.jpg

SEE PICTURES Russell Brand and Katy Perry – a love story in pictures

SEE PICTURES Russell Brand and Katy Perry in Celebrity Splits 2011

SEE PICTURES Katy Perry at Nickelodeon Kids’ Choice Awards 2013