Download the PHP package yansongda/rate-limit-bundle without Composer
On this page you can find all versions of the php package yansongda/rate-limit-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download yansongda/rate-limit-bundle
More information about yansongda/rate-limit-bundle
Files in yansongda/rate-limit-bundle
Download yansongda/rate-limit-bundle
More information about yansongda/rate-limit-bundle
Files in yansongda/rate-limit-bundle
Please rate this library. Is it a good library?
Informations about the package rate-limit-bundle
Rate-Limit-Bundle
主要提供了路由限流功能,限流的参数可由自定义函数动态进行控制
运行环境
- php 7.1+
- symfony 4
- composer
- redis
功能
- 静态限流
- 动态限流
- 根据 ip + 路由 进行限制
安装
composer require yansongda/rate-limit-bundle -vvv
概要
根据 IP + 路由名 进行确定特定的客户端,通过 redis 进行限流记录。
使用
静态限流
动态限流
配置
下面是默认的配置信息。如果需要更改,在 config 的 packages 目录下新建一个 yml 文件,然后复制以下内容更改即可。
All versions of rate-limit-bundle with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.1
symfony/framework-bundle Version ^4.0
sensio/framework-extra-bundle Version ^5.2
snc/redis-bundle Version ^2.1
symfony/framework-bundle Version ^4.0
sensio/framework-extra-bundle Version ^5.2
snc/redis-bundle Version ^2.1
The package yansongda/rate-limit-bundle contains the following files
Loading the files please wait ....