juddling / laravel-route-checker
此包已被弃用,不再维护。作者建议使用juddling/laravel-runtime-errors包。
关于此包的最新版本(0.4.2)没有可用的许可证信息。
在您的Laravel项目中捕获运行时错误
0.4.2
2018-08-11 14:04 UTC
Requires
- php: >=7.1
- illuminate/console: ^5.0
- illuminate/support: ^5.0
- nikic/php-parser: ^4.0
This package is auto-updated.
Last update: 2022-02-01 13:11:57 UTC
README
此包解析您的Laravel项目,并在生产环境中出现错误之前找到错误。
添加以下 artisan 命令
runtime-errors
runtime-errors:dd Flags all calls to the dd() function
runtime-errors:route-calls Checks your route calls to see if they map to a registered named route
runtime-errors:route-definitions Checks your route definitions to see if they point to an existing controller action
runtime-errors:view-calls Checks your view calls to see if they map to a file that exists
示例输出
安装
composer require --dev juddling/laravel-runtime-errors
Laravel 版本 <= 5.4
将服务提供者添加到 config/app.php
\Juddling\RouteChecker\RouteCheckerServiceProvider::class,
贡献
从源代码安装
composer update juddling/laravel-runtime-errors --prefer-source