lion/route
最新稳定版本:v13.1.0
Composer 安装命令:
composer require lion/route
包简介
This library has quick router usage with regular expressions.
README 文档
README
🚀 Lion-Route This library has quick router usage with regular expressions.
📖 Features
✔️ Supports post, get, put, delete, options, and match methods.
✔️ Middleware Support.
✔️ Support with route group.
📦 Installation
Install the route using Composer:
composer require lion/route lion/exceptions lion/request lion/security lion/dependency-injection
Usage Example
<?php declare(strict_types=1); use Lion\Route\Route; use App\Http\Controllers\UsersController; Route::init(); Route::get('users', function(UsersController $usersController): mixed { return $usersController->method(); }); Route::dispatch();
📝 License
The route is open-sourced software licensed under the MIT License.
统计信息
- 总下载量: 4.08k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 3
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-12-01