Libraries tagged by quality rules
heyosseus/sloppy
29208 Downloads
Static analysis for the debt AI coding agents leave behind, on any PHP project: 26 rules, architecture policies and module boundaries you describe, git-diff review, coverage-aware reading order, PHPStan baseline-growth detection, a Rector and Pint fix pass, Pest expectations, CI annotations, agent rulesets, Claude Code hooks and an MCP server. Runs inside PHPStan through the separate heyosseus/phpstan-sloppy extension. Extra rules and dashboards for Laravel. Deterministic, local, no LLM.
orrison/meliorstan
30128 Downloads
Provides PHPStan rules for improved code quality by detecting code smells and possible issues. In addition to enforcing particular naming and code style conventions to reduce bike-shedding.
drevops/phpcs-standard
216326 Downloads
DrevOps PHP_CodeSniffer rules: enforce consistent naming (snakeCase or camelCase) for variables and parameters, PHPUnit data provider conventions.
sanmai/phpstan-rules
24019 Downloads
Custom PHPStan rules for enforcing code quality standards
wayofdev/cs-fixer-config
70610 Downloads
🧹 Adds custom rule-sets to PHP CS Fixer for consistent coding standards.
nowo-tech/phpstan-frankenphp
69198 Downloads
PHPStan rules that help you migrate from PHP-FPM to FrankenPHP classic, then to worker mode. Rules are split by level with demos for every case.
sinemacula/coding-standards-laravel
9400 Downloads
Laravel-specific coding standards, static-analysis rules, and code-quality tooling for Sine Macula's Laravel repositories.
leek/rector-filament
4018 Downloads
Rector rules for Filament v4 upgrades and code quality.
the-firehub-project/phpstan-rules
3183 Downloads
A centralized quality enforcement layer for the FireHub ecosystem, providing shared PHPStan configuration and custom static analysis rules.
pekral/rector-rules
20160 Downloads
Curated Rector rule set for PHP 8.4+ — 230 hand-picked rules in one import.
pekral/phpstan-rules
10631 Downloads
Extensible package of custom rules for PHPStan.
pekral/phpcs-rules
16503 Downloads
Custom ruleset for PHP_CodeSniffer (PHPCS) with additional rules and configuration, based on Slevomat Coding Standard. Helps to enforce consistent code style and best practices in PHP projects.
christianjbrown/code-quality-scripts
664 Downloads
An opinionated PHP_CodeSniffer standard and PHP CS Fixer rule sets (risky and safe), with shell wrappers, for keeping PHP projects to PSR, Symfony, PEAR and Generic standards.
taptima/phpstan-custom
18024 Downloads
Taptima extensions for PHPStan
heyosseus/phpstan-sloppy
1632 Downloads
Sloppy's rules inside your PHPStan run: swallowed exceptions, god methods, N+1 queries, placeholder bodies, weakened tests and the rest of the debt AI coding agents leave in PHP, reported as PHPStan errors. Diff mode, editor mode, a quality gate and a result cache included.