phpstan-strict-rules
Extra strict and opinionated rules for PHPStan (by phpstan)
phpstan-magento
Magento specific extension for PHPStan (by bitExpert)
| phpstan-strict-rules | phpstan-magento | |
|---|---|---|
| 3 | - | |
| 676 | 144 | |
| 1.2% | 0.0% | |
| 6.7 | 7.1 | |
| 8 days ago | 3 months ago | |
| PHP | PHP | |
| MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
phpstan-strict-rules
Posts with mentions or reviews of phpstan-strict-rules. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-09-15.
- PHPStan: Your Development Best Friend Who Actually Knows PHP Better Than You Do
Want even more strictness? The phpstan-strict-rules extension adds additional rules for defensive programming, including stricter array handling and more aggressive type checking.
- Has there been any talk of an "empty" coalesce operator?
https://github.com/phpstan/phpstan-strict-rules has a rule disallowing empty. I like the rule and although I haven't used this ruleset I try to avoid using empty in PHP.
- Weekly help thread
phpstan has some strictness rules which, at a glance, can cover this: https://github.com/phpstan/phpstan-strict-rules/blob/1.2.x/README.md
phpstan-magento
Posts with mentions or reviews of phpstan-magento. We have used some of these posts to build our list of alternatives and similar projects.
We haven't tracked posts mentioning phpstan-magento yet.
Tracking mentions began in Dec 2020.
What are some alternatives?
When comparing phpstan-strict-rules and phpstan-magento you can also consider the following projects:
psr7 - PSR-7 HTTP message library
Deptrac - Keep your architecture clean.
DoctrineExtensions - A set of Doctrine 2 extensions
PHP Architecture Tester - ✔️ PHP Architecture Tester - Easy architecture testing for PHP
Serde - Robust Serde (serialization/deserialization) library for PHP 8.
unused-scanner - Detect unused composer dependencies