canvural/larastan-strict-rules
Extra strict, opinionated PHPStan rules for Laravel via Larastan. Enforce safer patterns by banning dynamic where methods, facades, and global helpers; prevent validation in controllers; ensure scopes return Eloquent Builder. Enable all at once or toggle rules individually.
3.0.x bugfix release (patch)
Total issues resolved: 0
Total pull requests resolved: 1
Total contributors: 1
218: Merge release 2.2.5 into 3.0.x thanks to @github-actions[bot]
2.2.x bugfix release (patch)
Total issues resolved: 0
Total pull requests resolved: 1
Total contributors: 1
217: fix: check for generic class and parent type thanks to @canvural
3.0.x bugfix release (patch)
Total issues resolved: 0
Total pull requests resolved: 1
Total contributors: 1
216: Merge release 2.2.4 into 3.0.x thanks to @github-actions[bot]
2.2.x bugfix release (patch)
Total issues resolved: 0
Total pull requests resolved: 1
Total contributors: 1
215: fix 2 rules thanks to @canvural
3.0.x bugfix release (patch)
Total issues resolved: 0
Total pull requests resolved: 1
Total contributors: 1
214: Merge release 2.2.3 into 3.0.x thanks to @github-actions[bot]
2.2.x bugfix release (patch)
Total issues resolved: 0
Total pull requests resolved: 2
Total contributors: 1
213: fix(NoDynamicWhereRule): check for relations too thanks to @canvural
212: chore: remove roave/security-advisories thanks to @canvural
Backwards incompatible release (major)
Total issues resolved: 0
Total pull requests resolved: 2
Total contributors: 2
191: chore: Upgraded to Larastan 3.0 and PHPStan 2.0 thanks to @odinns
96: Merge release 2.1.4 into 3.0.x thanks to @github-actions[bot]
2.2.x bugfix release (patch)
Total issues resolved: 0
Total pull requests resolved: 1
Total contributors: 1
199: ci: update deprecated functions and dependencies thanks to @owenvoke
2.2.x bugfix release (patch)
Total issues resolved: 0
Total pull requests resolved: 1
Total contributors: 1
197: feat: improve conditional tags thanks to @owenvoke
Total issues resolved: 0
Total pull requests resolved: 1
Total contributors: 1
192: chore(ci): update GA and deps thanks to @canvural
2.1.x bugfix release (patch)
Total issues resolved: 0
Total pull requests resolved: 1
Total contributors: 1
178: Use larastan/larastan thanks to @lloricode
2.1.x bugfix release (patch)
2.1.x bugfix release (patch)
Total issues resolved: 0
Total pull requests resolved: 9
Total contributors: 2
158: fix: model scopes should not be considered dynamic where thanks to @canvural
2.1.x bugfix release (patch)
Total issues resolved: 0
Total pull requests resolved: 4
Total contributors: 2
2.1.x bugfix release (patch)
Total issues resolved: 0
Total pull requests resolved: 1
Total contributors: 1
114: fix: Larastan compability thanks to @canvural
2.1.x bugfix release (patch)
Full Changelog: https://github.com/canvural/larastan-strict-rules/compare/v2.1.2...v2.1.3
ListenerShouldHaveVoidReturnTypeRuleFull Changelog: https://github.com/canvural/larastan-strict-rules/compare/v2.1.1...v2.1.2
.gitattributesFull Changelog: https://github.com/canvural/larastan-strict-rules/compare/v2.1...v2.1.1
Full Changelog: https://github.com/canvural/larastan-strict-rules/compare/v2.0.2...v2.1
ScopeShouldReturnQueryBuilderRuleFull Changelog: https://github.com/canvural/larastan-strict-rules/compare/v2.0.1...v2.0.2
phpstan/extension-installerFull Changelog: https://github.com/canvural/larastan-strict-rules/compare/v2.0.0...v2.0.1
Note: This is a major version bump because Larastan 2 only supports Laravel 9. 1.x branch was created for 1.x releases.
Full Changelog: https://github.com/canvural/larastan-strict-rules/compare/1.0.0...v2.0.0
Full Changelog: https://github.com/canvural/larastan-strict-rules/compare/0.1.7...1.0.0
NoGlobalLaravelFunctionRuleNoGlobalLaravelFunctionRule rule.How can I help you explore Laravel packages today?