missael-anda / laravel-recaptcha
A simple ReCaptcha wrapper for Laravel.
dev-master
2023-09-08 19:38 UTC
Requires
- php: ^8.0
- illuminate/support: ^9.0 || ^10.0
- illuminate/validation: ^9.0 || ^10.0
This package is auto-updated.
Last update: 2025-03-08 22:49:01 UTC
README
Install
composer require missael-anda/laravel-recaptcha@dev
Extended validation rule recaptcha
.
MissaelAnda\ReCaptcha\Facade\ReCaptcha::validate(string $secret)
Config file
return [ 'enabled' => env('RECAPTCHA_ENABLED', true), 'key' => env('RECAPTCHA_KEY'), 'timeout' => env('RECAPTCHA_TIMEOUT'), ];