chadicus / psr-middleware-ratelimit
用于限制API客户端请求的PSR中间件
dev-master
2017-09-25 20:42 UTC
Requires
- php: ^7.0
- chadicus/psr-middleware: ^1.0
- psr/http-message: ^1.0
Requires (Dev)
- chadicus/coding-standard: ^1.2
- phpunit/phpunit: ^6.1
- satooshi/php-coveralls: ^1.0
- zendframework/zend-diactoros: ^1.5
This package is auto-updated.
Last update: 2024-09-07 07:37:55 UTC
README
限制客户端请求的中间件。
要求
RateLimit Middleware 需要 PHP 7.0(或更高版本)。
Composer
要将库添加为本地、按项目的依赖项,请使用Composer!只需将 chadicus/psr-middleware-ratelimit
添加到您的项目 composer.json
文件中,例如:
composer require chadicus/psr-middleware-ratelimit
联系
开发者可通过以下方式联系:
项目构建
通过检出代码,在您的PATH中获取 Composer 并运行
./composer install ./vendor/bin/phpunit
示例用法
示例即将推出