wterberg / phpstan-laravel
Contains several custom rules to analyse Laravel projects with PHPStan.
Installs: 2 200
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:phpstan-extension
Requires
- php: ^8.2
- illuminate/support: ^10.0
- nikic/php-parser: ^4.17
- phpstan/phpstan: ^1.10
Requires (Dev)
- xpertselect/tools: ^1.0
README
github.com/wterberg/dcat-catalog
Contains several custom rules to analyse Laravel projects with PHPStan.
License
View the LICENSE.md
file for licensing details.
Installation
Installation of wterberg/phpstan-laravel
is done via Composer.
composer require --dev wterberg/phpstan-laravel
Usage
To start using the custom PHPStan rules, simply include the below snippet in the phpstan.neon
or phpstan.neon.dist
file of your project.
includes: - ./vendor/wterberg/phpstan-laravel/extension.neon