garygreen/pretty-routes
最新稳定版本:1.0.14
Composer 安装命令:
composer require garygreen/pretty-routes
包简介
Pretty routes for Laravel 5+
README 文档
README
Visualise your routes in pretty format.
Installation
composer require garygreen/pretty-routes
If your using autodiscovery in Laravel, it should just work.
Otherwise - add to your config/app.php providers array to where all your package providers are (before your app's providers):
PrettyRoutes\ServiceProvider::class,
By default the package exposes a /routes url. If you wish to configure this, publish the config.
php artisan vendor:publish --provider="PrettyRoutes\ServiceProvider"
If accessing /routes isn't working, ensure that you've included the provider within the same area as all your package providers (before all your app's providers) to ensure it takes priority.
By default pretty routes only enables itself when APP_DEBUG env is true. You can configure this on the published config as above, or add any custom middlewares.
统计信息
- 总下载量: 1.14M
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 659
- 点击次数: 1
- 依赖项目数: 3
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-08-26
