beelab/recaptcha2-bundle
BeelabRecaptcha2Bundle integrates Google ReCaptcha v2 into Symfony, adding a ready-to-use form type and server-side verification with configurable API keys. Simple to drop into existing forms for spam protection. Released under the LGPL license.
FormType, Validator, and Twig, requiring significant abstraction to integrate into Laravel’s FormRequest, Validator facade, and Blade/Inertia stack. Direct adoption is not viable without a custom wrapper.onRecaptchaFail event lacks Laravel equivalents, necessitating manual event listeners.services.yaml must be replaced with Laravel’s service providers, risking container conflicts or broken DI resolution.Recaptcha2 constraint must be rewritten for Laravel’s Illuminate\Validation\Rule, adding custom validation logic and potential edge-case bugs.AbstractType cannot be used in Laravel. Requires a custom RecaptchaField trait or FormRequest validator to replicate validation logic.curl_post/http_client methods must be adapted to Laravel’s Http or Guzzle, with error handling for API failures.config/packages/beelab_recaptcha2.yaml) must map to Laravel’s .env or config/recaptcha.php, risking misconfiguration if not automated.beberlei/laravel-recaptcha):
symfony/form, symfony/validator, and symfony/http-client to Laravel, increasing bundle size and potential version conflicts.beberlei/laravel-recaptcha).Recaptcha2 constraint introduces potential security gaps (e.g., improper token verification or error handling).beberlei/laravel-recaptcha, standalone SDK) for total cost of ownership?symfony/form, symfony/validator, and symfony/http-client, which may conflict with existing Laravel packages or increase bundle size.onRecaptchaFail event has no direct Laravel equivalent, requiring manual event listeners (e.g., Laravel’s Events facade)..env or config/recaptcha.php, risking misconfiguration if not automated.beberlei/laravel-recaptcha (MIT-licensed, Laravel-specific).Recaptcha2 Constraint as a Laravel Illuminate\Validation\Rule.Http or Guzzle..env/config/recaptcha.php.onRecaptchaFail)..env or config/recaptcha.php.How can I help you explore Laravel packages today?