aronlabs/captcha
Lightweight, secure CAPTCHA for Laravel 10+ (PHP 8.1+) with text and math challenges, Ajax refresh, and Blade includes. Easy validation via CaptchaRule, plus publishable config, views, and fonts for full customization.
Aron Captcha is a lightweight, secure, and fully customizable CAPTCHA package for Laravel, supporting both text-based and math-based challenges with Ajax refresh and clean Blade integration.
Aron Captcha is developed and maintained by AronSoft.
Website: https://aron-soft.com/landing/aron-captcha
Author: Mojtaba pakdel
composer require aronlabs/captcha
Laravel will automatically discover the service provider.
php artisan vendor:publish --tag=aronlabs-captcha-config
This will publish the configuration file to:
config/aron-captcha.php
<form method="POST">
@csrf
@include('aronlabs-captcha::captcha-input')
<button type="submit">Submit</button>
</form>
use AronLabs\Captcha\Rules\CaptchaRule;
$request->validate([
'captcha' => ['required', new CaptchaRule],
]);
php artisan vendor:publish --tag=aronlabs-captcha-views
php artisan vendor:publish --tag=aronlabs-captcha-fonts
Make sure your main layout contains:
@yield('scripts')
The CAPTCHA view automatically injects required JavaScript.
Contributions are welcome!
Feel free to submit issues or pull requests via GitHub.
If you discover a security vulnerability, please report it responsibly:
Email: security@aron-soft.com
Website: https://aron-soft.com
This package is open-sourced software licensed under the MIT License.
How can I help you explore Laravel packages today?