symplify/phpstan-extensions
Extra PHPStan rules and extensions from Symplify to improve static analysis of PHP projects. Adds better type inference and framework-aware checks, helping catch bugs earlier and keep codebases consistent with minimal configuration.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| sanmai/phpstan-rules | 0.87 | Extra PHPStan rules from sanmai that extend static analysis for PHP projects. Helps catch additional issues not covered by core rules, improving code quality and consistency with minimal setup. | 3 | 4 | 0 | 1K | 0 | 25.3 | 39.4 | Apache-2.0 | 1 month ago | |
| thecodingmachine/phpstan-strict-rules | 0.86 | Extra-strict PHPStan ruleset that flags risky or inconsistent PHP patterns beyond the default checks. Helps enforce cleaner, safer code by catching edge cases and enforcing best practices, with easy opt-in configuration for existing PHPStan setups. | 289 | 289 | 27 | 71K | 9 | 34.1 | 43.3 | — | 4 years ago | |
| phpstan/extension-installer | 0.86 | 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. | 500 | 498 | 31 | 3M | 2 | 28.5 | 62.7 | MIT | 1 year ago | |
| wyrihaximus/phpstan-rules-wrapper | 0.86 | Meta-package that bundles popular PHPStan rule sets and extensions for stricter static analysis. Install via Composer and it works automatically with phpstan/extension-installer, pulling in deprecation, PHPUnit/Mockery, strict rules, dead-code detection, and more. | 6 | 6 | 0 | 28K | 1 | 29.2 | 58.5 | MIT | 1 month ago | |
| symplify/phpstan-rules | 0.86 | Extra PHPStan rules by Symplify to catch bugs, improve code quality, and enforce consistent conventions. Easy to install and configure, with a broad set of checks for Symfony/Laravel and modern PHP features to keep your codebase clean. | 262 | 261 | 33 | 501K | 3 | 24.2 | 53.8 | MIT | 11 months ago | |
| localheinz/phpstan-rules | 0.85 | Custom PHPStan rules to enforce stricter coding standards in PHP projects. Includes ready-to-use rules.neon (auto-loaded via phpstan/extension-installer) with checks like no named arguments, class final enforcement, and more. Install via Composer as a dev dependency. | 444 | 443 | 22 | 297 | 6 | 33.8 | 6.8 | MIT | 2 months ago | |
| phpstan/phpstan-webmozart-assert | 0.85 | 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. | 183 | 183 | 33 | 633K | 6 | 32.7 | 60.2 | MIT | 1 year ago | |
| phpstan/phpstan-symfony | 0.85 | PHPStan extension for Symfony that improves static analysis with precise return types and framework-specific rules. Understands container/services, parameters, controllers, request/headers, serializer, forms, messenger handlers, cache callbacks, config tree builders, and more. | 782 | 787 | 100 | 2M | 61 | 53.4 | 84.4 | MIT | 1 month ago | |
| thecodingmachine/phpstan-safe-rule | 0.85 | PHPStan rule set that flags calls to “unsafe” PHP functions that can return false on failure and suggests using the thecodingmachine/safe equivalents that throw exceptions, helping enforce safer, exception-based error handling in your codebase. | 62 | 62 | 25 | 194K | 2 | 26.3 | 56.7 | — | 4 months ago | |
| pepakriz/phpstan-exception-rules | 0.83 | PHPStan extension that adds custom rules for analyzing exceptions. It helps catch improper throwing/catching, missing @throws annotations, and other exception-related issues to improve correctness and maintainability in PHP codebases. | 109 | 111 | 10 | 5K | 8 | 32.1 | 29.7 | — | 4 years ago | |
| eliashaeussler/phpstan-config | 0.83 | 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 | 15K | 1 | 27.4 | 60.2 | GPL-3.0 | 4 months ago | |
| phpstan/phpstan-phpunit | 0.81 | PHPStan extension for PHPUnit: improves type inference for mocks (intersection types for createMock/getMock), understands Foo|MockObject phpDocs, adds early-terminating methods to avoid undefined vars, and refines assert() types. Optional strict rules catch improper assertion usage. | 527 | 531 | 56 | 3M | 33 | 44.1 | 78.9 | MIT | 1 month ago |
How can I help you explore Laravel packages today?