Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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
```