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

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

thgnet/phpstan-plugins
======================

Plugins for PHPStan

0.2(5mo ago)025MITPHPPHP &gt;=7.2

Since Nov 18Pushed 5mo ago1 watchersCompare

[ Source](https://github.com/thg2k/phpstan-plugins)[ Packagist](https://packagist.org/packages/thgnet/phpstan-plugins)[ RSS](/packages/thgnet-phpstan-plugins/feed)WikiDiscussions master Synced 1w ago

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

ThGnet PHPStan plugins
======================

[](#thgnet-phpstan-plugins)

Compatibility
-------------

[](#compatibility)

The current version is compatible with PHPStan v1.10 and v1.11.

How to install
--------------

[](#how-to-install)

Copy the phar distribution file `phpstan-plugins.phar` into your project and add the following line into your config file:

```
includes:
    - phar://phpstan-plugins.phar/conf/config.neon

```

Run the analysis specifying the phar file as additional autoload file:

```
phpstan analyse -a phpstan-plugins.phar

```

###  Health Score

28

—

LowBetter than 51% of packages

Maintenance71

Regular maintenance activity

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity26

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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 ~474 days

Total

2

Last Release

163d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f8c7f8e6685c2c45cf8f3068086fcdf734ea3d8f7cf074900058befc9f76a0a6?d=identicon)[thg2k](/maintainers/thg2k)

---

Top Contributors

[![thg2k](https://avatars.githubusercontent.com/u/359577?v=4)](https://github.com/thg2k "thg2k (10 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[larastan/larastan

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

6.5k60.6M10.5k](/packages/larastan-larastan)[phpstan/phpstan-doctrine

Doctrine extensions for PHPStan

67475.0M1.6k](/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.2M111](/packages/shipmonk-dead-code-detector)[spaze/phpstan-disallowed-calls

PHPStan rules to detect disallowed method &amp; function calls, constant, namespace, attribute, property &amp; superglobal usages, with powerful rules to re-allow a call or a usage in places where it should be allowed.

33923.4M632](/packages/spaze-phpstan-disallowed-calls)[mglaman/phpstan-drupal

Drupal extension and rules for PHPStan

20832.2M213](/packages/mglaman-phpstan-drupal)

PHPackages © 2026

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