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+
composer require rahul900day/laravel-captcha
php artisan vendor:publish --tag="captcha-config"
.env
file:CAPTCHA_DRIVER=turnstile
CAPTCHA_SITE_KEY="{Your Site Key}"
CAPTCHA_SECRET_KEY="{Your Site Secret}"
<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/
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.