juddling / laravel-runtime-errors
Catch errors before runtime in your Laravel project
Installs: 1 102
Dependents: 0
Suggesters: 0
Security: 0
Stars: 6
Watchers: 2
Forks: 1
Open Issues: 0
Requires
- php: >=7.1
- illuminate/console: ^5.0
- illuminate/support: ^5.0
- nikic/php-parser: ^4.0
This package is auto-updated.
Last update: 2024-10-29 05:40:31 UTC
README
This package parses your Laravel project, and finds errors before they occur in production.
The following artisan commands are added:
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
Example output:
Installation
composer require --dev juddling/laravel-runtime-errors
Laravel Version <= 5.4
Add the service provider to config/app.php
:
\Juddling\RouteChecker\RouteCheckerServiceProvider::class,
Contributing
Install from source:
composer update juddling/laravel-runtime-errors --prefer-source