PHPStan rules to detect disallowed method & function calls, constant, namespace, attribute & superglobal usages, with powerful rules to re-allow a call or a usage in places where it should be allowed.
β325Feb 25, 2026Updated this week
Alternatives and similar repositories for phpstan-disallowed-calls
Users that are interested in phpstan-disallowed-calls are comparing it to the libraries listed below
Sorting:
- π Provides a composer package with rules for phpstan/phpstan.β439Feb 23, 2026Updated last week
- π Various extra strict PHPStan rules we found useful in ShipMonk.β148Feb 19, 2026Updated last week
- Find Unused Public Elements in Your Codeβ193Jan 7, 2026Updated last month
- Fun, powerful and practical PHPStan rules for Symfony, Doctrine, PHPUnit or plain PHP projectsβ260Feb 6, 2026Updated 3 weeks ago
- PHPStan rules for detecting usage of deprecated classes, methods, properties, constants and traits.β446Updated this week
- Detect banned code through PHPStanβ287Feb 17, 2026Updated last week
- Extra strict and opinionated rules for PHPStanβ685Updated this week
- βοΈ Split PHPStan baseline to multiple files per each error identifier. Supports both neon baseline and PHP baseline.β90Jan 28, 2026Updated last month
- PHPStan based SQL static analysis and type inference for the database access layerβ289Nov 20, 2025Updated 3 months ago
- PHPStan extension to require minimal type-coverageβ205Jan 7, 2026Updated last month
- π PHP unused code detection via PHPStan extension. Detects dead cycles, supports libs like Symfony, Twig, Doctrine, PHPUnit etc. Can autβ¦β324Updated this week
- TwigStan is a static analyzer for Twig templates powered by PHPStanβ271Nov 11, 2025Updated 3 months ago
- Todo comments with expirationβ198Feb 16, 2026Updated 2 weeks ago
- π Fast detection of composer dependency issues (unused dependencies, shadow dependencies, misplaced dependencies)β593Jan 28, 2026Updated last month
- A CLI tool to check whether a specific composer package uses imported symbols that aren't part of its direct composer dependenciesβ987Updated this week
- Extra strict and opinionated psr/log (psr-3) rules for PHPStanβ41Nov 9, 2025Updated 3 months ago
- Show unused composer dependencies by scanning your codeβ1,656Updated this week
- βοΈ PHP Architecture Tester - Easy architecture testing for PHPβ1,237Updated this week
- Swiss knife in pocket of every upgrade architect!β198Jan 9, 2026Updated last month
- A tool to automatically fix Twig Coding Standards issuesβ326Feb 23, 2026Updated last week
- Rector upgrade rules for PHPUnitβ113Feb 11, 2026Updated 2 weeks ago
- FIG PSR3 PHPStan rulesβ23Feb 2, 2026Updated last month
- Composer plugin for automatic installation of PHPStan extensions.β492Updated this week
- Enables type-safe comparisons of objects in PHPUnit.β31Feb 23, 2026Updated last week
- Removes `final` and `readonly` keywords from source code on-the-fly and allows mocking of final methods and classes. It can be used togetβ¦β562Feb 22, 2026Updated last week
- PHPUnit extensions and rules for PHPStanβ527Feb 24, 2026Updated last week
- π΅ Provides a composer plugin for normalizing composer.json.β1,104Feb 23, 2026Updated last week
- Dependency free PHP library that helps to map any input into a strongly-typed structure.β1,480Updated this week
- Find leaking classes that you never use... and get rid of them.β135Nov 21, 2025Updated 3 months ago
- Analyzes PHPStan baseline files and creates aggregated error trend-reportsβ83Jan 12, 2026Updated last month
- Tool to compare two revisions of a class API to check for BC breaksβ595Feb 24, 2026Updated last week
- β±οΈ Provides a composer package with an extension for detecting slow tests in phpunit/phpunit.β144Updated this week
- PHPStan rules for checked & unchecked exceptionsβ109Nov 12, 2021Updated 4 years ago
- Put your architectural rules under test!β868Updated this week
- Magic number rules for phpstan/phpstan.β31Jul 26, 2025Updated 7 months ago
- Next level type declaration check PHPStan rulesβ100Jan 12, 2026Updated last month
- A minimalistic error formatter for PHPStanβ87Feb 18, 2026Updated last week
- PHPStan rules to measure cognitive complexity of your classes and methodsβ146Dec 26, 2024Updated last year
- A set of custom fixers for PHP CS Fixerβ238Jan 31, 2026Updated last month