PHPackages                             rootscratch/ratelimit - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. rootscratch/ratelimit

ActiveLibrary[HTTP &amp; Networking](/categories/http)

rootscratch/ratelimit
=====================

Rootscratch Ratelimit PHP is a lightweight session-based rate-limiting solution for PHP applications. It helps protect your web app from excessive requests by implementing request throttling without the need for external databases like Redis.

v1.0.0(1y ago)17MITPHP

Since Feb 16Pushed 1y ago1 watchersCompare

[ Source](https://github.com/jaycee0610/SessionBased-Ratelimit-PHP)[ Packagist](https://packagist.org/packages/rootscratch/ratelimit)[ RSS](/packages/rootscratch-ratelimit/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

SessionBased-Ratelimit-PHP
==========================

[](#sessionbased-ratelimit-php)

SessionBased-Ratelimit-PHP is a lightweight, session-based rate-limiting solution for PHP applications. It helps protect your web application from excessive requests by implementing request throttling without relying on external databases like Redis.

-

Features
--------

[](#features)

- Customizable request limits and time windows.
- Customizable error display

Installation
------------

[](#installation)

```
composer require rootscratch/ratelimit
```

Usage/Examples
--------------

[](#usageexamples)

```
