cline/router
最新稳定版本:1.0.0
Composer 安装命令:
composer require cline/router
包简介
Auto register routes using PHP attributes
关键字:
README 文档
README
router
Auto register routes using PHP attributes.
Requirements
Requires PHP 8.4+
Installation
composer require cline/router
Usage
use Cline\Router\Attributes\Get; final class UsersController { #[Get('users')] public function index(): void {} } // config/router.php return [ 'directories' => [ app_path('Http/Controllers'), ], ];
Change log
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING and CODE_OF_CONDUCT for details.
Security
If you discover any security related issues, please use the GitHub security reporting form rather than the issue queue.
Credits
License
The MIT License. Please see License File for more information.
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-03-24