Libraries tagged by rules
laravel-validation-rules/credit-card
2671596 Downloads
Validate credit card number, expiration date, cvc
wp-cli/rewrite-command
9128878 Downloads
Lists or flushes the site's rewrite rules, updates the permalink structure.
shopwarelabs/phpstan-shopware
982772 Downloads
PhpStan Rules for Shopware
roave/no-floaters
401949 Downloads
PHPStan Rules to Disallow Float proliferation in contexts where IEEE-754 rounding errors are not acceptable
rector/rector-symfony
2040088 Downloads
Rector upgrades rules for Symfony Framework
rector/rector-phpunit
1967127 Downloads
Rector upgrades rules for PHPUnit
rector/rector-doctrine
2033753 Downloads
Rector upgrades rules for Doctrine
phpcompatibility/phpcompatibility-paragonie
44201824 Downloads
A set of rulesets for PHP_CodeSniffer to check for PHP cross-version compatibility issues in projects, while accounting for polyfills provided by the Paragonie polyfill libraries.
nyholm/nsa
6862028 Downloads
See everything and do whatever you want. No privacy rule will stop us. Used in tests, debugging and fixtures to access properties and methods.
mortexa/laravel-arkitect
645172 Downloads
Test and enforce architectural rules in your Laravel applications
moodlehq/moodle-cs
4208219 Downloads
Moodle Coding Sniffer rules
magento-ecg/coding-standard
1785809 Downloads
A set of PHP_CodeSniffer rules and sniffs.
heyosseus/sloppy
106619 Downloads
Static analysis for the debt AI coding agents leave behind, on any PHP project: 34 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. Deterministic, local, no LLM.
ergebnis/php-cs-fixer-config
3371743 Downloads
Provides a configuration factory and rule set factories for friendsofphp/php-cs-fixer.
boundwize/structarmed
1347808 Downloads
Configurable PHP architecture guards — define your layers and rules, then keep them enforced