PHP Static Analysis Tool - discover bugs in your code without running it!
Phpstan GitHub Repositories (2026) · Open Source Tools
Discover the best Phpstan open source repositories on GitHub. Explore trending tools, live star counts, source code, and developer projects updated daily.
PHPStan rules to detect disallowed method & function calls, constant, namespace, attribute, keyword & superglobal usages, with powerful rules to re-allow a call or a usage in places where it should be allowed.
⚡ Lara Dashboard - CMS by Laravel - All In One solution to start your Laravel Application from Basic to Enterprise. Manages Users, Roles, Permissions, Modules, Settings, Translations, Contents, Monitoring and every actions of your Laravel application. Complete solution for Laravel application with Tailwind, Livewire, Rest API, Unit-Tests and more.
⚗️ Adds code analysis to Laravel improving developer productivity and code quality.
💀 PHP unused code detection via PHPStan extension. Detects dead cycles, supports libs like Laravel, Symfony, Twig, Doctrine, PHPUnit etc. Can automatically remove dead PHP code. Able to detect dead code used only in tests. Finds unused methods, constants, properties and enum cases.
Composer plugin for automatic installation of PHPStan extensions.
👓 Provides a composer package with rules for phpstan/phpstan.
Doctrine extensions for PHPStan
PHPStan based SQL static analysis and type inference for the database access layer
Next-gen phpDoc parser with support for intersection types and generics
Todo comments with expiration
Extracts PHP types information.
PHPStan extension for webmozart/assert
📏 Various extra strict PHPStan rules we found useful in ShipMonk.
PHPStan plugin for PhpStorm
Nette Framework class reflection extension for PHPStan & framework-specific rules
PHPStan extension for Mockery
PHPStan rules for detecting usage of deprecated classes, methods, properties, constants and traits.
PHPUnit extensions and rules for PHPStan
Extra strict and opinionated rules for PHPStan