Download the PHP package brezgalov/yii2-rate-limiting without Composer
On this page you can find all versions of the php package brezgalov/yii2-rate-limiting. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download brezgalov/yii2-rate-limiting
More information about brezgalov/yii2-rate-limiting
Files in brezgalov/yii2-rate-limiting
Download brezgalov/yii2-rate-limiting
More information about brezgalov/yii2-rate-limiting
Files in brezgalov/yii2-rate-limiting
Vendor brezgalov
Package yii2-rate-limiting
Short Description request rate limiting helpers lib
License MIT
Package yii2-rate-limiting
Short Description request rate limiting helpers lib
License MIT
Please rate this library. Is it a good library?
Informations about the package yii2-rate-limiting
Как пользоваться
Установка через 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,
]),
],
All versions of yii2-rate-limiting with dependencies
PHP Build Version
Package Version
The package brezgalov/yii2-rate-limiting contains the following files
Loading the files please wait ....