phpstan/extension-installer
Composer plugin that automatically discovers and installs PHPStan extensions, eliminating manual includes in phpstan.neon. Add it as a dev dependency, allow the plugin in Composer, and extensions can declare includes via extra.phpstan for auto-setup.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| pb30/phpstan-composer-analysis | 0.90 | A PHPStan extension for Composer-aware static analysis. It helps inspect composer.json and installed dependency metadata, adding Composer-focused checks to your existing PHPStan workflow so package and configuration issues surface alongside code errors. | 17 | 17 | 1 | 16K | 1 | 1.5 | 41.4 | — | 11 months ago | |
| php-static-analysis/phpstan-extension | 0.89 | A PHPStan extension for PHP projects that adds custom rules and configuration to strengthen static analysis. Integrate it with PHPStan to catch potential issues earlier, enforce coding standards, and improve overall code quality in your development workflow. | 15 | 15 | 0 | 2K | 0 | 0.1 | 30.0 | MIT | 1 year ago | |
| phpstan/phpstan-webmozart-assert | 0.89 | PHPStan extension for webmozart/assert that teaches PHPStan how Assert::* calls narrow types. Supports many assertions (including nullOr*/all*) so values become non-null, specific scalars, instances, arrays, etc. after validation, improving static analysis accuracy. | 185 | 185 | 33 | 639K | 5 | 12.3 | 50.1 | MIT | 1 year ago | |
| lookyman/phpstan-symfony | 0.89 | PHPStan extension for Symfony projects. Improves static analysis with Symfony-specific type inference and container/framework awareness, helping catch bugs earlier and reduce false positives when analyzing services, controllers, and common Symfony patterns. | 42 | 41 | 5 | 16 | 0 | 1.2 | 1.3 | MIT | 8 years ago | |
| dave-liddament/phpstan-php-language-extensions | 0.89 | A PHPStan extension that adds support for extra PHP language features and type declarations, widening static analysis coverage so PHPStan understands more of your code. Helps catch bugs earlier and reduces false positives in Laravel and PHP projects. | 44 | 45 | 4 | 25K | 0 | 1.7 | 38.4 | MIT | 11 months ago | |
| localheinz/phpstan-rules | 0.89 | A Composer package of custom PHPStan rules for stricter static analysis, covering calls, classes, exceptions, methods, and more. Install with composer require --dev ergebnis/phpstan-rules and include rules.neon or use phpstan/extension-installer. | 462 | 462 | 23 | 382 | 1 | 32.5 | 4.2 | MIT | 1 week ago | |
| larastan/larastan | 0.89 | Larastan is a PHPStan extension for Laravel that adds static typing and catches whole classes of bugs before you write tests. It boots your application's container to resolve types only computable at runtime while supporting Laravel's magic. | 6,548 | 6,559 | 528 | 11M | 38 | 85.3 | 77.9 | MIT | 6 days ago | |
| phpstan/phpstan-nette | 0.89 | PHPStan extension for the Nette Framework providing precise type inference for components, DI container getByType/createInstance, forms, dynamic Html methods, magic properties, and presenters, plus optional rules for regex validation and Nette\Object deprecation. | 118 | 119 | 46 | 227K | 6 | 33.5 | 58.7 | MIT | 4 weeks ago | |
| phpstan/phpstan-doctrine | 0.89 | PHPStan extension for Doctrine that validates DQL and QueryBuilder, checks repository findBy and magic methods, improves EntityManager and repository type inference, supports ORM and ODM, and reports mapping, entity type, and proxy issues. | 681 | 683 | 125 | 3M | 77 | 57.8 | 87.6 | MIT | 1 week ago | |
| phpstan/phpstan | 0.89 | PHPStan is a PHP static analysis tool that finds bugs in your code without running it, catching whole classes of errors before you even write tests. Configurable rule levels and framework integrations make it easy to add to any CI pipeline and ship safer PHP. | 14,152 | 14,226 | 971 | 19M | 1,056 | 94.8 | 77.0 | MIT | 6 days ago | |
| prinsfrank/phpstan-doc-code-analyzer | 0.89 | Analyze and validate PHP code examples in your documentation using PHPStan. This package scans doc blocks and docs for code snippets, runs static analysis, and helps catch outdated or incorrect examples early in CI. | 2 | 2 | 0 | 2K | 0 | 1.0 | 38.8 | MIT | 1 year ago | |
| eliashaeussler/phpstan-config | 0.88 | Opinionated PHPStan configuration presets and extensions by Elias Häußler. Drop-in rules and baseline settings to standardize static analysis across projects, reduce false positives, and improve code quality with minimal setup for common PHP/Laravel workflows. | 2 | 2 | 0 | 12K | 1 | 9.7 | 52.5 | GPL-3.0 | 11 months ago | |
| sidz/phpstan-rules | 0.88 | sidz/phpstan-rules adds extra PHPStan rules for catching magic numbers in comparisons, assignments, function arguments, and arithmetic. Install via Composer and configure ignored numbers, numeric strings, and rule exclusions. | 30 | 31 | 4 | 29K | 0 | 23.1 | 47.7 | MIT | 1 month ago | |
| php-standard-library/phpstan-extension | 0.88 | PHPStan extension for the PHP Standard Library (PSL), adding custom rules and type extensions so static analysis understands PSL types, functions, and generics. Improves error detection and CI/IDE feedback in PSL-based PHP projects. | 24 | 24 | 7 | 66K | 14 | 12.4 | 56.8 | — | 7 months ago | |
| calebdw/phpstan-laravel | 0.88 | A PHPStan extension for Laravel that adds framework-aware type inference and rules for facades, helpers, Eloquent models, and container resolutions, helping you catch bugs earlier and write safer, more maintainable PHP. | 35 | 35 | 7 | 12K | 0 | 20.4 | 40.9 | MIT | 1 week ago | |
| phpstan/phpstan-strict-rules | 0.88 | Extra strict, opinionated PHPStan rules for defensive, strongly typed PHP: require booleans in conditions, strict function-call flags, numeric arithmetic operands, matching switch types, no useless casts, and safer loop variable handling. | 714 | 721 | 63 | 5M | 35 | 45.9 | 75.1 | MIT | 1 week ago | |
| phpstan/phpstan-php-parser | 0.88 | PHPStan extension for nikic/php-parser that adds precise type inference for AST nodes and visitors, improving static analysis of code that parses, traverses, or manipulates PHP source. | 23 | 23 | 8 | 19K | 1 | 0.3 | 28.3 | — | 4 years ago | |
| contributte/phpstan | 0.88 | Contributte PHPStan integration for Nette projects. Install via Composer and get a ready-to-use PHPStan setup tailored for Nette 3.3+ on PHP 8.2+, with docs and ongoing maintenance by the Contributte team. | 1 | 2 | 2 | 24K | 0 | 4.8 | 56.9 | MIT | 10 months ago | |
| rector/type-perfect | 0.88 | Type Perfect adds 10 PHPStan rules to tighten type declarations: replace empty/isset checks with instanceof for precise narrowing, prefer explicit getters over magic array access, and enforce interface signatures. Easy to enable even on legacy code; improves reliability fast. | 105 | 105 | 7 | 403K | 0 | 10.5 | 43.6 | MIT | 3 months ago | |
| nunomaduro/larastan | 0.87 | Larastan is a PHPStan extension for Laravel that finds errors in your code before you write tests. It adds static typing, understands Laravel's magic, and boots your app container to catch whole classes of bugs. | 6,548 | 6,560 | 528 | 439K | 38 | 85.0 | 56.2 | MIT | 6 days ago |
How can I help you explore Laravel packages today?