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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| nunomaduro/larastan | 0.83 | Larastan is a PHPStan extension for Laravel that adds strong type inference and “code analysis” by booting the app container. It understands Laravel’s magic, finds bugs early, and improves code quality and developer productivity. | 6,474 | 6,462 | 500 | 424K | 84 | 86.8 | 57.3 | MIT | 2 months ago | |
| larastan/larastan | 0.82 | Larastan is a PHPStan extension for Laravel that analyzes your code to catch bugs early. It boots the Laravel container to resolve runtime-only types, adds static typing support for Laravel “magic,” and improves code quality and developer productivity. | 6,474 | 6,478 | 500 | 5M | 84 | 86.8 | 72.7 | MIT | 2 months ago | |
| phpstan/phpstan-strict-rules | 0.82 | Extra-strict, opinionated PHPStan rules for highly defensive, strongly typed PHP. Enforces boolean conditions, numeric operands, strict calls (e.g., in_array), detects useless casts, prevents loop variable overwrites, and requires matching switch/case types. | 704 | 713 | 62 | 3M | 38 | 46.2 | 74.5 | MIT | 2 weeks ago |
How can I help you explore Laravel packages today?