# reCAPTCHA PHP client library 2.0

A new major version of the PHP client library for reCAPTCHA, the free Google service that protects websites from spam and abuse.

Version 2.0 needs PHP 8.4 or later. It adds strict types, and its response objects can no longer change after they are made. It also works with PHP 8.5.

- Made by: [Google](https://github.com/google)
- Shipped: 22/09/2026
- Date from: [release](https://github.com/google/recaptcha/releases/tag/2.0.0)
- Source: [github.com/google/recaptcha](https://github.com/google/recaptcha)
- Install: `composer require google/recaptcha`
- Licence: BSD-3-Clause
- Stack: plain PHP
- Topics: Security
- Checked: 03/11/2026
- Added: 03/11/2026

## Badge

Listed here? Add this badge to your README:

```markdown
[![Featured on phplives.dev](https://phplives.dev/badge.svg)](https://phplives.dev/entries/recaptcha-2-0/)
```

See more at [phplives.dev](https://phplives.dev)
