nunomaduro / larastan
The tool can detect an unexpected addition to the business code problems, including detection of syntax, comments. It is flexible and convenient to specify the directory and strict detection level.
Environmental requirements:
- PHP 7.1.3+
- laravel 5.6+
installation:
composer require --dev nunomaduro/larastan
use:
php artisan code:analyse --paths="./app"