phpstan/phpstan-nette
PHPStan extension for Nette Framework. Improves type inference for components, DI container, forms, presenters/sessions, Html dynamic methods, SmartObject magic properties, events, and regex-based Strings utilities. Includes optional Nette-specific rules.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| nette/phpstan-rules | 0.89 | Extra PHPStan rules from the Nette ecosystem to catch more issues in your PHP codebase. Adds stricter checks and best-practice validations on top of PHPStan, helping improve static analysis coverage and prevent bugs before runtime. | 6 | 6 | 0 | 2K | 0 | 0.0 | 32.4 | — | — | |
| thecodingmachine/phpstan-safe-rule | 0.87 | 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 | |
| symplify/phpstan-rules | 0.87 | 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 | |
| voku/phpstan-rules | 0.87 | Additional PHPStan rules to catch risky and redundant condition logic and comparisons. Detects double negatives, PHP 8 behavior changes (0 vs ''), insane/invalid comparisons (0=='0foo', 0==='0'), and type-mismatch checks (e.g., object vs non-object). | 33 | 33 | 1 | 4K | 2 | 1.3 | 31.2 | MIT | — | |
| phpstan/phpstan | 0.86 | PHPStan is a PHP static analysis tool that finds bugs without running your code. It checks types and logic, flags common error patterns early, and helps enforce higher code quality—bringing PHP closer to compiled-language safety before tests or runtime. | 13,894 | 13,945 | 947 | 8M | 1,103 | 90.8 | 72.0 | MIT | 1 week ago | |
| phpstan/phpstan-phpunit | 0.83 | 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?