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

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

nusje2000/phpstan-monolith
==========================

PHPStan extension that can validate usages of namespaces based on the composer dependencies in internal packages

v0.1.4(4y ago)426.7kMITPHPCI failing

Since Jan 5Pushed 4y ago2 watchersCompare

[ Source](https://github.com/nusje2000/phpstan-monolith)[ Packagist](https://packagist.org/packages/nusje2000/phpstan-monolith)[ RSS](/packages/nusje2000-phpstan-monolith/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (5)Dependencies (2)Versions (6)Used By (0)

PHPStan Monolith
================

[](#phpstan-monolith)

PHPStan extension that can validate usages of namespaces based on the composer dependencies in internal packages

### Installation

[](#installation)

Using composer:

```
composer require nusje2000/phpstan-monolith --dev
```

Add the following include to your phpstan.neon:

```
includes:
    - vendor/nusje2000/phpstan-monolith/extension.neon
```

### Known issue

[](#known-issue)

1. Due to recent updates within phpstan, when an error occours which can be solved by adding a package to the composer.json, the cache must be manually removed because the php files which had the error will still show the cached result because the file itself was not changed.

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 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 ~186 days

Total

5

Last Release

1672d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/17175959?v=4)[Maarten Nusteling](/maintainers/nusje2000)[@nusje2000](https://github.com/nusje2000)

---

Top Contributors

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

### Embed Badge

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

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

###  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)
