Download the PHP package trukes/php-rate-limiter without Composer
On this page you can find all versions of the php package trukes/php-rate-limiter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download trukes/php-rate-limiter
More information about trukes/php-rate-limiter
Files in trukes/php-rate-limiter
Package php-rate-limiter
Short Description A lightweight, flexible rate-limiting library for PHP. Manage access limits by user, IP, or custom keys with support for sliding and fixed windows. Compatible with Redis, MySQL, and file-based storage. Ideal for controlling API usage and preventing abuse.
License MIT
Homepage https://github.com/trukes/php-rate-limiter
Informations about the package php-rate-limiter
Php Rate Limiter
PhpRateLimiter is a simple and flexible rate-limiting library for PHP. It allows you to manage access limits based on custom keys (such as users, IPs, etc.) and can be easily integrated with any injectable storage backend (e.g., Redis, MySQL, etc.). It supports both fixed and sliding time windows. Ideal for controlling API usage and preventing abuse.
Installation
You can install the package via composer:
Usage
Configuration
You are able to provider configurations to fit your needs:
Testing
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Pedro Carmo
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
PHP Package Boilerplate
This package was generated using the PHP Package Boilerplate by Beyond Code.