switon/throttle
最新稳定版本:v1.0.0
Composer 安装命令:
composer require switon/throttle
包简介
Request throttling and rate limiting for Switon Framework
README 文档
README
Request throttling and rate limiting for Switon Framework.
Installation
composer require switon/throttle
Requirements: PHP 8.3+, Redis
Quick Start
use Switon\Throttle\Attribute\RateLimit; class ApiController { #[RateLimit('10/m')] public function search(): array { return $this->doSearch(); } }
Docs: https://docs.switon.dev/latest/throttle
License
MIT.
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 13
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-05-10