acelaya/expressive-slim-router
最新稳定版本:v4.0.1
Composer 安装命令:
composer require acelaya/expressive-slim-router
包简介
A router for Zend Expressive based on Slim framework's implementation
README 文档
README
A router for Zend Expressive based on Slim framework's implementation.
I decided to do this implementation because Slim's router supports optional params at the beginning of the path, while other Expressive supported routers don't.
Installation
Install this package with composer
composer require acelaya/expressive-slim-router
Usage
You just need to register the include this package's ConfigProvider in your project's configuration.
<?php declare(strict_types=1); $aggregator = new ConfigAggregator([ // ... App\ConfigProvider::class, Acelaya\Expressive\ConfigProvider::class, // ... ], '...');
If you are already using zend-component-installer, the ConfigProvider will be automatically registered for you.
统计信息
- 总下载量: 581
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 8
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-09-20