pierre-vassoilles/recaptcha-bundle
Symfony bundle that integrates Google reCAPTCHA into forms and controllers, with configuration, validation, and Twig helpers to help protect applications from spam and automated abuse with minimal setup.
RecaptchaBundle naming suggests a Symfony-style bundle; check composer.json for laravel/illuminate support and whether Laravel package auto-discovery is present. If it is Symfony-only, use it through a small Laravel adapter/service rather than assuming it auto-wires.README, composer.json, package config files (config/recaptcha.php, DependencyInjection/*, or bundle config), the verifier/client class, and any validation rule or middleware shipped by the package.g-recaptcha-response server-side before the controller action runs.0.9.0 as the first stable baseline, not a mature 1.0: verify public APIs against source before standardizing usage across the app.RecaptchaValid, and attach it to forms that need protection. Validate token presence, Google success flag, expected action, score threshold, and optionally hostname.RecaptchaVerifier with a verify(string $token, ?string $action, ?string $ip): Result method, then bind the package implementation in a service provider.contact, login, register, so v3 assessments are interpretable.local and testing, but make it impossible to enable silently in production. Prefer a fake verifier over disabling validation logic entirely.action and consider hostname; otherwise tokens from other forms or environments may be accepted.php artisan config:clear / config:cache as appropriate. Environment changes will not take effect if config is cached incorrectly.www.google.com, www.gstatic.com, and related reCAPTCHA domains.error-codes such as invalid input response, timeout-or-duplicate, and bad request. Distinguish user error from misconfiguration.0.9.0 is the first stable release. Pin the version, review source diffs before upgrades, and keep the adapter layer small so future package changes do not ripple through the app.How can I help you explore Laravel packages today?