juddling/laravel-runtime-errors

There is no license information available for the latest version (0.4.2) of this package.

Catch errors before runtime in your Laravel project

0.4.2 2018-08-11 14:04 UTC

This package is auto-updated.

Last update: 2024-10-29 05:40:31 UTC


README

Scrutinizer Code Quality

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:

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