Download the PHP package emerge/php-routing without Composer
On this page you can find all versions of the php package emerge/php-routing. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package php-routing
简介
一个基础的PHP路由
安装
快速入门
输出内容
常量
VERSION
string
版本号
API
get
- 路由设置
array
get
(string $route, array|callable $callback, [array $options = []])
返回添加的路由数据
参数
route
路由路径
callback
路由回调,参考链接
options
路由选项, 支持 requirements,method 两个选项
返回值
示例
dispatch
- 分派路由
array
dispatch
(string $method, string $uri)
返回路由分派结果
参数
method
HTTP方法
uri
URI
返回值
示例
All versions of php-routing with dependencies
PHP Build Version
Package Version
No informations.
The package emerge/php-routing contains the following files
Loading the files please wait ....