rahul900day / laravel-captcha
Different types of Captcha implementation for Laravel Application.
Fund package maintenance!
Ko Fi
Installs: 2 713
Dependents: 0
Suggesters: 0
Security: 0
Stars: 101
Watchers: 4
Forks: 2
Open Issues: 0
Requires
- php: ^8.1
- guzzlehttp/guzzle: ^7.5
- illuminate/http: ^10.0|^11.0
- illuminate/support: ^10.0|^11.0
- illuminate/validation: ^10.0|^11.0
- illuminate/view: ^10.0|^11.0
Requires (Dev)
- laravel/pint: ^1.5.0
- nunomaduro/collision: ^7.0|^8.0
- orchestra/testbench: ^8.0|^9.0
- pestphp/pest: ^2.0
- rector/rector: ^1.0
README
Laravel Captcha
Laravel Captcha is a wrapper around Turnstile, HCaptcha & Google Recaptcha. It provides very easy-to-use Facade, Validation Rule, and laravel components.
Requires PHP 8.0+
Quick Start
- Install via Composer:
composer require rahul900day/laravel-captcha
- Publish the config file with:
php artisan vendor:publish --tag="captcha-config"
- Add required configuration to
.env
file:
CAPTCHA_DRIVER=turnstile CAPTCHA_SITE_KEY="{Your Site Key}" CAPTCHA_SECRET_KEY="{Your Site Secret}"
- Display the Captcha
<head> <x-captcha-js /> </head> <body> <form action="" method="post"> <x-captcha-container /> </form> </body>
Please read the full documentation on https://laravel-captcha.rahuldey.dev/
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
Sponsors
License
The MIT License (MIT). Please see License File for more information.