PHPackages                             phpsoftbox/rate-limiter - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. phpsoftbox/rate-limiter

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

phpsoftbox/rate-limiter
=======================

Rate limiter component for the PhpSoftBox framework

062↓22.2%PHP

Since Mar 2Pushed 2mo agoCompare

[ Source](https://github.com/phpsoftbox/rate-limiter)[ Packagist](https://packagist.org/packages/phpsoftbox/rate-limiter)[ RSS](/packages/phpsoftbox-rate-limiter/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

RateLimiter
===========

[](#ratelimiter)

Простой компонент rate limiting на базе PSR-16.

Пример
------

[](#пример)

```
use PhpSoftBox\RateLimiter\SimpleCacheRateLimiter;

$limiter = new SimpleCacheRateLimiter($cache);
$result = $limiter->hit('api|127.0.0.1', 60, 60);
```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance56

Moderate activity, may be stable

Popularity11

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity12

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/0279d150240c97d210034878b0467462246dc14d29b5618157ff6a8be49a50e3?d=identicon)[inspector-who](/maintainers/inspector-who)

---

Top Contributors

[![inspector-who](https://avatars.githubusercontent.com/u/6973963?v=4)](https://github.com/inspector-who "inspector-who (1 commits)")

### Embed Badge

![Health badge](/badges/phpsoftbox-rate-limiter/health.svg)

```
[![Health](https://phpackages.com/badges/phpsoftbox-rate-limiter/health.svg)](https://phpackages.com/packages/phpsoftbox-rate-limiter)
```

###  Alternatives

[vaimo/composer-patches

Applies a patch from a local or remote file to any package that is part of a given composer project. Patches can be defined both on project and on package level. Optional support for patch versioning, sequencing, custom patch applier configuration and patch command for testing/troubleshooting added patches.

2994.3M16](/packages/vaimo-composer-patches)[symfony/semaphore

Symfony Semaphore Component

373.9M6](/packages/symfony-semaphore)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
