PHPackages                             brezgalov/yii2-rate-limiting - 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. brezgalov/yii2-rate-limiting

ActiveLibrary

brezgalov/yii2-rate-limiting
============================

request rate limiting helpers lib

v1.0.1(4y ago)0541MITPHPPHP &gt;=5.6.0

Since Jul 7Pushed 4y ago1 watchersCompare

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

READMEChangelogDependencies (1)Versions (3)Used By (0)

Как пользоваться
----------------

[](#как-пользоваться)

Установка через composer:

```
composer require brezgalov/yii2-rate-limiting --prefer-dist

```

Для php8:

```
composer require brezgalov/yii2-rate-limiting --prefer-dist --ignore-platform-reqs

```

Подключить в behaviours контроллера:

```
'rateLimiter' => [
    'class' => RateLimiter::class,
    'user' => \Yii::createObject([
        'class' => IpLimiterCache::class,
        'only' => ['my-action'],
        'requests' => 1,
        'perSecs' => 120,
    ]),
],

```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

1770d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ba5437e2f11c8cf8548822ad3c8e80eb9f9e84d266daf340e72681195aa7810d?d=identicon)[Brezgalov](/maintainers/Brezgalov)

---

Top Contributors

[![Brezgalov](https://avatars.githubusercontent.com/u/30072225?v=4)](https://github.com/Brezgalov "Brezgalov (5 commits)")

### Embed Badge

![Health badge](/badges/brezgalov-yii2-rate-limiting/health.svg)

```
[![Health](https://phpackages.com/badges/brezgalov-yii2-rate-limiting/health.svg)](https://phpackages.com/packages/brezgalov-yii2-rate-limiting)
```

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M2.6k](/packages/craftcms-cms)

PHPackages © 2026

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