文件名称:routing:URL请求路由器
文件大小:5KB
文件格式:ZIP
更新时间:2024-05-26 04:45:30
PHP
URL请求路由器 URL请求路由器 安装 跑步 composer require appzcoder/routing:"dev-master" 在您的脚本中添加波纹管 require 'vendor/autoload.php' ; 用法 // Make Route alias of Route Facade for static instance calling class_alias ( 'Appzcoder\Routing\RouterFacade' , 'Route' ); // Set your own controller namespace (optional) Route :: setControllerNamespace ( "App\\Controllers\\" ); // GET Route with anonymous function Route :: get (
【文件预览】:
routing-master
----src()
--------RouterFacade.php(218B)
--------Exception()
--------Router.php(9KB)
--------Dispatcher.php(3KB)
----composer.json(614B)
----README.md(1KB)