nusje2000/phpstan-monolith

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

Maintainers

Package info

github.com/nusje2000/phpstan-monolith

Type:phpstan-extension

pkg:composer/nusje2000/phpstan-monolith

Statistics

Installs: 26 707

Dependents: 0

Suggesters: 0

Stars: 4

Open Issues: 0

v0.1.4 2022-01-19 14:26 UTC

This package is auto-updated.

Last update: 2026-02-20 00:08:54 UTC


README

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

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

  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.