Cockpit Next reCAPTCHA

I really need to integrate reCAPTCHA v2 into my Cockpit form (using PHP) because my clients are collecting tons of spam. The unofficial add-on does not work with the latest versions of Cockpit. Can anyone help me with how to validate reCAPTCHA? Front end is easy to integrate but I’m struggling with the server side.

Thanks so much!!