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 2w 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

2982d 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

[larastan/larastan

Larastan - Discover bugs in your code without running it. A phpstan/phpstan extension for Laravel

6.4k51.0M7.7k](/packages/larastan-larastan)[phpstan/phpstan-symfony

Symfony Framework extensions and rules for PHPStan

79473.3M2.0k](/packages/phpstan-phpstan-symfony)[phpstan/phpstan-doctrine

Doctrine extensions for PHPStan

67270.7M1.3k](/packages/phpstan-phpstan-doctrine)[orchestra/testbench

Laravel Testing Helper for Packages Development

2.2k41.3M39.0k](/packages/orchestra-testbench)[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.

4813.1M83](/packages/shipmonk-dead-code-detector)[tomasvotruba/cognitive-complexity

PHPStan rules to measure cognitive complexity of your classes and methods

1595.4M260](/packages/tomasvotruba-cognitive-complexity)

PHPackages © 2026

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