nextras/static-router
最新稳定版本:v2.0.1
Composer 安装命令:
composer require nextras/static-router
包简介
Simple static router for Nette Framework
README 文档
README
Installation
Add to your composer.json:
"require": {
"nextras/static-router": "~2.0"
}
Example
use Nextras\Routing\StaticRouter; $router = new StaticRouter(['Homepage:default' => 'index.php'], StaticRouter::ONE_WAY); $router = new StaticRouter([ 'Homepage:default' => '', 'Auth:signIn' => 'sign-in', 'Auth:signOut' => 'sign-out', 'Auth:signUp' => 'sign-up', ]);
统计信息
- 总下载量: 135.52k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 26
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-10-05