You can install the package via composer:
composer require twothreebird/laravelipratelimiter
You can publish and run the migrations with:
php artisan vendor:publish --tag="laravelipratelimiter-migrations"
php artisan migrate
You can publish the config file with:
php artisan vendor:publish --tag="laravelipratelimiter-config"
This is the contents of the published config file:
return [
'max_attempts' => 20,
'ttl_minutes' => 1440, // 24 hours
'whitelist_routes' => [],
'whitelist_ips' => []
];
The MIT License (MIT). Please see License File for more information.