PHPackages                             airlst/phpstan-config - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Testing &amp; Quality](/categories/testing)
4. /
5. airlst/phpstan-config

ActiveLibrary[Testing &amp; Quality](/categories/testing)

airlst/phpstan-config
=====================

PHPStan config for AirLST projects

10.0.2(1y ago)019.0k↓25%1[2 PRs](https://github.com/airlst/phpstan-config/pulls)7MITPHPPHP ^8.3CI passing

Since Feb 2Pushed 4mo ago2 watchersCompare

[ Source](https://github.com/airlst/phpstan-config)[ Packagist](https://packagist.org/packages/airlst/phpstan-config)[ Docs](https://github.com/airlst/phpstan-config)[ RSS](/packages/airlst-phpstan-config/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (10)Versions (50)Used By (7)

PHPStan config for AirLST projects
==================================

[](#phpstan-config-for-airlst-projects)

[![Latest Version on Packagist](https://camo.githubusercontent.com/eceec33a1a53a5a93266038bcd2b47639f63d3771eb4367773ca03c81c86913c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6169726c73742f7068707374616e2d636f6e6669672e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/airlst/phpstan-config)[![Total Downloads](https://camo.githubusercontent.com/9af1f7a680e0f044698a398f8c185cc5dc085f6e8395b25f657501075b03240b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6169726c73742f7068707374616e2d636f6e6669672e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/airlst/phpstan-config)

PHPStan config for AirLST projects.

Installation
------------

[](#installation)

You can install the package via Composer:

```
composer require --dev airlst/phpstan-config
```

Make sure to allow the `phpstan/extension-installer` plugin to run in your `composer.json`:

```
{
    "config": {
        "allow-plugins": {
            "phpstan/extension-installer": true
        }
    }
}
```

Usage
-----

[](#usage)

Create a `phpstan.php` in the root of your project with the following contents:

```
