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

ActivePhpstan-extension[Testing &amp; Quality](/categories/testing)

decodelabs/phpstan-decodelabs
=============================

DecodeLabs PHPStan analysis extension

v0.7.0(1y ago)232.9k120MITPHPPHP ^8.4CI passing

Since Oct 14Pushed 2mo ago2 watchersCompare

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

READMEChangelog (10)Dependencies (2)Versions (49)Used By (20)

DecodeLabs PHPStan compatibility extension
==========================================

[](#decodelabs-phpstan-compatibility-extension)

[![PHP from Packagist](https://camo.githubusercontent.com/dde43fe8b132de2b1c38f4a7255d005a8c81c132ade59d95b16feb996f506ab3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6465636f64656c6162732f7068707374616e2d6465636f64656c6162733f7374796c653d666c6174)](https://packagist.org/packages/decodelabs/phpstan-decodelabs)[![Latest Version](https://camo.githubusercontent.com/4c6789f3024cbb8a2140e418f058a1e616329554d011c58e1b74fe428ea62171/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6465636f64656c6162732f7068707374616e2d6465636f64656c6162732e7376673f7374796c653d666c6174)](https://packagist.org/packages/decodelabs/phpstan-decodelabs)[![Total Downloads](https://camo.githubusercontent.com/3c177a770ead6b5ac9892faa529ca371b1eca97f369635ef5f2abb446b2689ab/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6465636f64656c6162732f7068707374616e2d6465636f64656c6162732e7376673f7374796c653d666c6174)](https://packagist.org/packages/decodelabs/phpstan-decodelabs)[![GitHub Workflow Status](https://camo.githubusercontent.com/32ca9dba33fc9d8391bb4856e00ab5c873b3f32de2ee7178d6276d79df8129a3/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6465636f64656c6162732f7068707374616e2d6465636f64656c6162732f696e746567726174652e796d6c3f6272616e63683d646576656c6f70)](https://github.com/decodelabs/phpstan-decodelabs/actions/workflows/integrate.yml)[![PHPStan](https://camo.githubusercontent.com/e25c14ce011edabdd0fbd2e10415b41cc5d66ed11ef3e5b7edd074c5bdd35a2d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048505374616e2d656e61626c65642d3434434331312e7376673f6c6f6e6743616368653d74727565267374796c653d666c6174)](https://github.com/phpstan/phpstan)[![License](https://camo.githubusercontent.com/6b5daf5cdc69442c56e74866af5b50d785c7a5625c29e6ab2dd462b75feb177a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6465636f64656c6162732f7068707374616e2d6465636f64656c6162733f7374796c653d666c6174)](https://packagist.org/packages/decodelabs/phpstan-decodelabs)

Make PHPStan work with DecodeLabs libraries.

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

[](#installation)

This package requires PHP 8.4 or higher.

Install via Composer:

```
composer require decodelabs/phpstan-decodelabs --dev
```

Licensing
---------

[](#licensing)

This package is licensed under the MIT License. See [LICENSE](./LICENSE) for the full license text.

###  Health Score

52

—

FairBetter than 96% of packages

Maintenance64

Regular maintenance activity

Popularity29

Limited adoption so far

Community26

Small or concentrated contributor base

Maturity79

Established project with proven stability

 Bus Factor1

Top contributor holds 97.1% 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 ~42 days

Total

47

Last Release

542d ago

PHP version history (5 changes)v0.1.0PHP ^7.2

v0.4.0PHP ^7.2|^8.0

v0.6.0PHP ^8.0

v0.6.8PHP ^8.1

v0.7.0PHP ^8.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/8a241d64d12b3b5ee94197862ec1ec30b82ed2efa34a0cd7f4c3565a021daddd?d=identicon)[betterthanclay](/maintainers/betterthanclay)

---

Top Contributors

[![betterthanclay](https://avatars.githubusercontent.com/u/1273586?v=4)](https://github.com/betterthanclay "betterthanclay (297 commits)")[![szepeviktor](https://avatars.githubusercontent.com/u/952007?v=4)](https://github.com/szepeviktor "szepeviktor (9 commits)")

---

Tags

phpphpstanphpstan-extensiondevstatic analysis

### Embed Badge

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

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

###  Alternatives

[larastan/larastan

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

6.5k60.6M9.9k](/packages/larastan-larastan)[rector/rector

Instant Upgrade and Automated Refactoring of any PHP code

10.4k145.3M10.9k](/packages/rector-rector)[phpstan/phpstan-doctrine

Doctrine extensions for PHPStan

67375.0M1.5k](/packages/phpstan-phpstan-doctrine)[drupal/core-dev

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

2023.2M361](/packages/drupal-core-dev)[phpstan/phpstan-symfony

Symfony Framework extensions and rules for PHPStan

79278.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.

5004.2M109](/packages/shipmonk-dead-code-detector)

PHPackages © 2026

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