thedevsaddam/lumen-route-list 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

thedevsaddam/lumen-route-list

最新稳定版本:2.0

Composer 安装命令:

composer require thedevsaddam/lumen-route-list

包简介

Display all the registered route list like laravel

README 文档

README

This package will help to display all the registered route list like laravel.

This package is no longer maintained :( use this package appzcoder/lumen-route-list

Installation

Via Composer

$ composer require thedevsaddam/lumen-route-list

Install manually (add the line to composer.json file)

"thedevsaddam/lumen-route-list": "^1.0"

Then open your terminal and hit the command

composer update

Open bootstrap/app.php and add the line below

$app->register(\Thedevsaddam\LumenRouteList\LumenRouteListServiceProvider::class);

Uses

  1. Run php artisan route:list to display the route list
  2. Inorder to filter routes use php artisan route:list --method=searchKeyword --uri=searchKeyword
  3. To display in reverse order use --reverse or -r

Filtering example given below:

php artisan route:list --method=post
#The above example will filter all the routes with post method#
or
php artisan route:list --name=users
#The above example will filter all the routes which name contains *user* keyword#
or
php artisan route:list --name=users --method=get --uri=api/v1
#This above example will filter all the routes where name matches users, method matches get and uri matches api/v1
or to display in reverse order use
php artisan route:list --name=users -r

route list like laravel

License

The lumen-route-list is a open-source software licensed under the MIT License.

Thank you :)

统计信息

  • 总下载量: 240.77k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 35
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 33
  • Watchers: 2
  • Forks: 5
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-12-08