sevenshores/artisan-route-find
Composer 安装命令:
composer require sevenshores/artisan-route-find
包简介
Artisan Console Command route:find
README 文档
README
I've come across working on some Laravel-based apps that have probably 100+ routes and it can become a bit annoying to quickly find things you are looking for.
artisan route:list + grep is fine, mostly, but I ended up making a bash function to do it, as well as trimming extra whitespace from the results. Then I thought "Hey, it would be nice if there was something built in to the framework." Something like artisan route:find
So, here it is, a proof-of-concept kind of thing.
Install and Set-up
composer require sevenshores/artisan-route-find
Register the command by adding it to app/Console/Kernel:
protected $commands = [ \SevenShores\RouteFinder\RouteFindCommand::class, ];
Usage
and now you can do something like:
php artisan route:find api/files
and to trim extra whitespace from the results:
php artisan route:find api/files --trim
统计信息
- 总下载量: 15
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2016-10-08