neptunedesign / list-routes
此包已被废弃,不再维护。作者建议使用 https://github.com/garygreen/pretty-routes 包代替。
Laravel 5.5+ 路由列表(Fork garygreen/pretty-routes)
0.0.4
2017-09-17 09:00 UTC
Requires
- laravel/framework: ~5.5.0
This package is not auto-updated.
Last update: 2022-07-19 13:27:46 UTC
README
以列表形式可视化您的路由。
安装
composer require neptunedesign/list-routes
将服务提供者添加到您的 config/app.php 提供者数组
ListRoutes\ServiceProvider::class,
Laravel 5.5 使用包自动发现,因此不需要您手动添加服务提供者。
默认情况下,包公开一个 /routes URL。如果您想配置此URL,请发布配置文件。
php artisan vendor:publish --provider="ListRoutes\ServiceProvider"
默认情况下,包隐藏了与正则表达式 #^_debugbar# 对应的URL。如果您想配置此URL,请发布配置文件。
php artisan vendor:publish --provider="ListRoutes\ServiceProvider"
