Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wterberg/phpstan-laravel
Contains several custom rules to analyse Laravel projects with PHPStan.
https://github.com/wterberg/phpstan-laravel
composer laravel php phpstan
Last synced: about 1 month ago
JSON representation
Contains several custom rules to analyse Laravel projects with PHPStan.
- Host: GitHub
- URL: https://github.com/wterberg/phpstan-laravel
- Owner: WterBerg
- License: mit
- Created: 2021-12-31T09:23:42.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-23T18:56:55.000Z (over 1 year ago)
- Last Synced: 2024-12-14T11:20:30.626Z (about 1 month ago)
- Topics: composer, laravel, php, phpstan
- Language: PHP
- Homepage:
- Size: 51.8 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# WterBerg / PHPStan Laravel
[github.com/wterberg/dcat-catalog](https://github.com/wterberg/dcat-catalog.git)
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`](https://packagist.org/packages/wterberg/phpstan-laravel) is done via [Composer](https://getcomposer.org).
```shell
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.
```yaml
includes:
- ./vendor/wterberg/phpstan-laravel/extension.neon
```