PHPackages                             cwhite92/phpstan-laravel - 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. cwhite92/phpstan-laravel

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

cwhite92/phpstan-laravel
========================

Laravel plugins for PHPStan

v2.0.0(8y ago)014BSD-2-ClausePHP

Since Dec 13Pushed 8y ago1 watchersCompare

[ Source](https://github.com/cwhite92/phpstan-laravel)[ Packagist](https://packagist.org/packages/cwhite92/phpstan-laravel)[ RSS](/packages/cwhite92-phpstan-laravel/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (1)Dependencies (3)Versions (6)Used By (0)

phpstan-laravel
===============

[](#phpstan-laravel)

Laravel plugins for [PHPStan](https://github.com/phpstan/phpstan)

[![Build Status](https://camo.githubusercontent.com/b5369c7bf075ae3fdf8f97f736253f4ce8299a36034efcf0fb169cd050d8fd99/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f576565626c792f7068707374616e2d6c61726176656c2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/Weebly/phpstan-laravel)

Usage
-----

[](#usage)

To use this extension, require it in [Composer](https://getcomposer.org/):

```
composer require --dev weebly/phpstan-laravel

```

And include extension.neon in your project's PHPStan config:

```
includes:
  - vendor/weebly/phpstan-laravel/extension.neon

```

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 65.6% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~35 days

Total

5

Last Release

3027d ago

Major Versions

v1.1.1 → v2.0.02018-05-01

### Community

Maintainers

![](https://www.gravatar.com/avatar/6a30b69accb959bc41d11290e5b8d803ddf115d3002f53a3148c0788abb5e11b?d=identicon)[cwhite92](/maintainers/cwhite92)

---

Top Contributors

[![twistor](https://avatars.githubusercontent.com/u/42400?v=4)](https://github.com/twistor "twistor (21 commits)")[![Ascendens](https://avatars.githubusercontent.com/u/8037081?v=4)](https://github.com/Ascendens "Ascendens (5 commits)")[![medisun](https://avatars.githubusercontent.com/u/2717800?v=4)](https://github.com/medisun "medisun (2 commits)")[![mr-feek](https://avatars.githubusercontent.com/u/5747667?v=4)](https://github.com/mr-feek "mr-feek (2 commits)")[![carusogabriel](https://avatars.githubusercontent.com/u/16328050?v=4)](https://github.com/carusogabriel "carusogabriel (1 commits)")[![cwhite-intouch](https://avatars.githubusercontent.com/u/136352810?v=4)](https://github.com/cwhite-intouch "cwhite-intouch (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/cwhite92-phpstan-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/cwhite92-phpstan-laravel/health.svg)](https://phpackages.com/packages/cwhite92-phpstan-laravel)
```

###  Alternatives

[phpstan/phpstan-doctrine

Doctrine extensions for PHPStan

67475.0M1.5k](/packages/phpstan-phpstan-doctrine)[phpstan/phpstan-symfony

Symfony Framework extensions and rules for PHPStan

79378.2M2.5k](/packages/phpstan-phpstan-symfony)[shipmonk/dead-code-detector

Dead code detector to find unused PHP code via PHPStan extension. Can automatically remove dead PHP code. Supports libraries like Symfony, Doctrine, PHPUnit etc. Detects dead cycles. Can detect dead code that is tested.

5014.2M110](/packages/shipmonk-dead-code-detector)[drupal/core-dev

require-dev dependencies from drupal/drupal; use in addition to drupal/core-recommended to run tests from drupal/core.

2023.2M366](/packages/drupal-core-dev)[duncanmcclean/statamic-cargo

Comprehensive e-commerce addon for Statamic. Build bespoke e-commerce sites without the complexity.

3622.8k](/packages/duncanmcclean-statamic-cargo)[orrison/meliorstan

Provides PHPStan rules for improved code quality by detecting code smells and possible issues. In addition to enforcing particular naming and code style conventions to reduce bike-shedding.

1920.1k6](/packages/orrison-meliorstan)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
