Installation
Get started with Easy Captcha in your Laravel project. A lightweight, secure solution for anti-bot protection.
1
Install via Composer
Run the following command in your terminal to add the package to your project:
composer require souravmsh/easy-captcha
2
Register Service Provider
The package supports auto-discovery. If you need to register it manually:
For Laravel 11+
Update bootstrap/providers.php:
return [
// ...
Souravmsh\EasyCaptcha\EasyCaptchaServiceProvider::class,
];
For Laravel 7–10
Update the providers array in config/app.php:
'providers' => [
// ...
Souravmsh\EasyCaptcha\EasyCaptchaServiceProvider::class,
],
3
Publish Configuration
Customize your CAPTCHA settings by publishing the configuration file:
php artisan vendor:publish --tag=easy-captcha-config
Easy Captcha