Download the PHP package aporat/laravel-rate-limiter without Composer
On this page you can find all versions of the php package aporat/laravel-rate-limiter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download aporat/laravel-rate-limiter
More information about aporat/laravel-rate-limiter
Files in aporat/laravel-rate-limiter
Package laravel-rate-limiter
Short Description Request and actions rate limiter middleware for Laravel and Lumen
License MIT
Homepage https://github.com/aporat/laravel-rate-limiter
Informations about the package laravel-rate-limiter
Laravel Rate Limiter
Request and actions rate limiter middleware for Laravel and Lumen
Installation
The rate-limiter service provider can be installed via Composer.
To use the RateLimiter service provider, you must register the provider when bootstrapping your application.
Laravel
Laravel 5.5 and above
The package will automatically register provider and facade.
Laravel 5.4 and below
Add Aporat\RateLimiter\RateLimiterServiceProvider
to the providers
section of your config/app.php
:
Add RateLimiter facade to the aliases
section of your config/app.php
:
Or use the facade class directly:
Now run php artisan vendor:publish
to publish config/rate-limiter.php
file in your config directory.
Lumen
Register the Aporat\RateLimiter\RateLimiterServiceProvider
in your bootstrap/app.php
:
Copy the rate-limiter.php
config file in to your project:
Configuration
Usage
Credits
- Adar Porat
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-rate-limiter with dependencies
illuminate/support Version ~7.0
illuminate/http Version ~7.0
ext-json Version *
ext-redis Version *