laravel static code review tool nunomaduro / larastan

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.

Click to visit github address

Environmental requirements:

  • PHP 7.1.3+
  • laravel 5.6+

installation:

composer require --dev nunomaduro/larastan

use:

php artisan code:analyse --paths="./app"

Guess you like

Origin blog.51cto.com/phpme/2404371