pekral/phpstan-rules
Custom PHPStan rules from pekral that extend static analysis for Laravel and PHP projects, helping catch bugs, enforce coding standards, and improve code quality with additional checks you can drop into your existing PHPStan setup.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| esfahanahan/phpstan-rules | 0.89 | A collection of custom PHPStan rules for Laravel and PHP projects, helping teams catch architectural and coding issues early. Drop it into your phpstan.neon config to enforce stricter static analysis and keep code quality consistent across the codebase. | 0 | 0 | 0 | 46 | 0 | 19.7 | 27.1 | MIT | 2 weeks ago | |
| guanguans/phpstan-rules | 0.88 | A set of custom PHPStan rules from guanguans that extend static analysis for PHP projects, helping catch code smells and enforce stricter conventions. Register the rules in phpstan.neon to add extra checks to your existing analysis workflow. | 1 | — | 0 | — | 0 | 16.8 | — | MIT | 2 months ago |
|
| pekral/phpcs-rules | 0.87 | pekral/phpcs-rules provides custom PHP_CodeSniffer rules and coding-standard configuration for PHP projects, helping teams enforce consistent style, catch common issues, and integrate automated checks into development and CI workflows. | 0 | 0 | 0 | 2K | 0 | 13.3 | 49.5 | MIT | 4 months ago | |
| irstea/phpstan-config | 0.87 | A shared PHPStan configuration package that provides ready-made static analysis rules and settings, so PHP and Laravel projects can adopt strict, consistent code quality checks quickly without manually building and maintaining their own phpstan.neon setup. | 0 | 0 | — | 0 | — | 0.0 | — | — | — | |
| localheinz/phpstan-rules | 0.87 | A Composer package of PHPStan rules from ergebnis that enforce stricter coding standards, covering areas like final classes, named arguments, and class extension. Install via Composer and include rules.neon, or let phpstan/extension-installer handle it automatically. Best layered on top of PHPStan's... | 462 | 462 | 23 | 382 | 1 | 32.5 | 4.2 | MIT | 1 week ago | |
| symplify/phpstan-rules | 0.87 | A set of 80+ practical PHPStan rules for checking clean architecture, logical errors, naming, namespace placement, visibility overrides, and Symfony, Doctrine, and PHPUnit best practices—useful for any PHP project, from legacy codebases to modern stacks. | 277 | 270 | 36 | 617K | 0 | 25.1 | 54.1 | MIT | 2 weeks ago | |
| kcs/phpstan-strict-rules | 0.86 | Fork of thecodingmachine/phpstan-strict-rules to support PHPStan v2. Adds stricter best-practice rules beyond core PHPStan, especially around exception handling (avoid throwing base Exception, empty catches, proper rethrowing). | 3 | 3 | 0 | 4K | 0 | 0.0 | 42.1 | — | — | |
| contributte/phpstan | 0.86 | Contributte PHPStan integration for Nette projects. Install via Composer and get a ready-to-use PHPStan setup tailored for Nette 3.3+ on PHP 8.2+, with docs and ongoing maintenance by the Contributte team. | 1 | 2 | 2 | 24K | 0 | 4.8 | 56.9 | MIT | 10 months ago | |
| canvural/larastan-strict-rules | 0.86 | Extra strict, opinionated PHPStan rules for Laravel. Install via Composer, include rules.neon, and enable or disable checks like no dynamic where, no facades, no global helpers, and no validation in controllers. | 91 | 90 | 7 | 26K | 0 | 27.1 | 39.2 | MIT | 2 months ago | |
| ergebnis/phpstan-rules | 0.86 | A Composer package of PHPStan rules from ergebnis, bundled in rules.neon and auto-included via phpstan/extension-installer. Adds stricter checks such as final classes, forbidden extends, and no named arguments to complement PHPStan core and strict rules. | 461 | 463 | 23 | 649K | 1 | 32.5 | 51.0 | MIT | 1 week ago | |
| oro/phpstan-rules | 0.86 | Oro PHPStan Rules adds custom static analysis checks to PHPStan for Laravel and PHP projects, helping teams catch risky patterns, enforce coding standards, and improve code quality early in CI. Lightweight and easy to integrate. | 13 | 13 | 5 | 538 | 1 | 0.4 | 22.0 | MIT | 2 years ago | |
| sanmai/phpstan-rules | 0.86 | 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 | 2K | 0 | 11.9 | 40.8 | Apache-2.0 | 8 months ago | |
| phpstan/phpstan-strict-rules | 0.85 | Extra strict, opinionated PHPStan rules for defensive, strongly typed PHP: require booleans in conditions, strict function-call flags, numeric arithmetic operands, matching switch types, no useless casts, and safer loop variable handling. | 714 | 721 | 63 | 5M | 35 | 45.9 | 75.1 | MIT | 4 days ago | |
| script-development/phpstan-warroom-rules | 0.85 | Custom PHPStan rules for Laravel projects that catch script-development conventions and common pitfalls. Drop-in config, clear error messages, and fast static analysis for CI pipelines. | 0 | 0 | 0 | 4K | 2 | 19.1 | 58.5 | MIT | 1 month ago | |
| php-static-analysis/phpstan-extension | 0.85 | A PHPStan extension for PHP projects that adds custom rules and configuration to strengthen static analysis. Integrate it with PHPStan to catch potential issues earlier, enforce coding standards, and improve overall code quality in your development workflow. | 15 | 15 | 0 | 2K | 0 | 0.1 | 30.0 | MIT | 1 year ago | |
| phpstan/phpstan | 0.85 | PHPStan is a PHP static analysis tool that finds bugs in your code without running it. It catches whole classes of errors before tests are written, bringing compiled-language-style correctness checks to PHP projects. | 14,147 | 14,221 | 972 | 19M | 1,056 | 94.9 | 77.1 | MIT | 3 days ago | |
| soyhuce/phpstan-extension | 0.85 | A PHPStan extension from Soyhuce that adds custom rules and type extensions for Laravel and PHP projects, helping teams catch bugs earlier and improve static analysis accuracy in CI and local development. | 1 | — | 1 | — | 0 | 0.9 | 1.5 | MIT | 1 year ago |
How can I help you explore Laravel packages today?