aporat/laravel-rate-limiter

Request and actions rate limiter middleware for Laravel and Lumen

v1.0.0 2020-08-24 03:58 UTC

This package is auto-updated.

Last update: 2024-11-25 14:22:01 UTC


README

codecov StyleCI Latest Version Latest Dev Version Monthly Downloads

Request and actions rate limiter middleware for Laravel and Lumen

Installation

The rate-limiter service provider can be installed via Composer.

composer require aporat/laravel-rate-limiter

To use the RateLimiter service provider, you must register the provider when bootstrapping your application.

Copy the rate-limiter.php config file in to your project:

    mkdir config
    cp vendor/aporat/laravel-rate-limiter/Config/rate-limiter.php config/rate-limiter.php

Configuration

Usage