webuilder240/cake-console-routes
最新稳定版本:0.0.3
Composer 安装命令:
composer require webuilder240/cake-console-routes
包简介
CakeConsoleRoutes is like a [rake routes] command for CakePHP3
README 文档
README
CakeConsoleRoutes is like a "rake routes" command for CakePHP3
Installation
You can install this plugin into your CakePHP application using composer.
The recommended way to install composer packages is:
composer require webuilder240/cake-console-routes --dev
Configuration
Set the CakeConsoleRoutes in bootstrap_cli.php
config/bootstrap_cli.php
if (Configure::read('debug')) { Plugin::load('CakeConsoleRoutes'); }
Usage
bin/cake routes
Example
Airnick:cake3-controller-test-sample nick$ bin/cake routes
Method URI Pattern Controller/Action extensions
GET / Pages/display none
GET /api/v1/posts Posts/index json,xml
POST /api/v1/posts Posts/add json,xml
GET /api/v1/posts/:id Posts/view json,xml
PUT,PATCH /api/v1/posts/:id Posts/edit json,xml
DELETE /api/v1/posts/:id Posts/delete json,xml
Todo
- remove config/routes.php
check route extensions- check Plugin Routes
About this plugin infomation (Japanese)
统计信息
- 总下载量: 79
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2015-07-20