rahul900day/laravel-captcha
Different types of Captcha implementation for Laravel Application.
27,788
108
| Install | |
|---|---|
composer require rahul900day/laravel-captcha |
|
| Latest Version: | 5.0.0 |
| PHP: | ^8.2 |
| License: | MIT |
| Last Updated: | Jun 19, 2026 |
| Links: | GitHub · Packagist |
Maintainer: rahul900day
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.2+
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
.envfile:
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.
Related Packages
php-tmdb/laravel
Laravel Package for TMDB ( The Movie Database ) API. Provides easy access to the...
53,315
160