Libraries tagged by rules
spaze/phpstan-disallowed-calls
9822172 Downloads
PHPStan rules to detect disallowed method & function calls, constant, namespace & superglobal usages
rlanvin/php-rrule
6552588 Downloads
Lightweight and fast recurrence rules for PHP (RFC 5545)
phpcompatibility/phpcompatibility-wp
18871750 Downloads
A ruleset for PHP_CodeSniffer to check for PHP cross-version compatibility issues in projects, while accounting for polyfills provided by WordPress.
php-di/phpdoc-reader
24034318 Downloads
PhpDocReader parses @var and @param values in PHP docblocks (supports namespaced class names with the same resolution rules as PHP)
pheromone/phpcs-security-audit
2574373 Downloads
phpcs-security-audit is a set of PHP_CodeSniffer rules that finds vulnerabilities and weaknesses related to security in PHP code
mglaman/phpstan-drupal
18458955 Downloads
Drupal extension and rules for PHPStan
magento/magento-coding-standard
10194172 Downloads
A set of Magento specific PHP CodeSniffer rules.
intervention/validation
4445870 Downloads
Additional validation rules for the Laravel framework
escapestudios/symfony2-coding-standard
8994785 Downloads
CodeSniffer ruleset for the Symfony 2+ coding standard
driftingly/rector-laravel
3413765 Downloads
Rector upgrades rules for Laravel Framework
automattic/vipwpcs
6299889 Downloads
PHP_CodeSniffer rules (sniffs) to enforce WordPress VIP minimum coding conventions
fgrosse/phpasn1
28542385 Downloads
A PHP Framework that allows you to encode and decode arbitrary ASN.1 structures using the ITU-T X.690 Encoding Rules.
object-calisthenics/phpcs-calisthenics-rules
2479773 Downloads
PHP CodeSniffer Object Calisthenics rules/sniffs
thecodingmachine/phpstan-safe-rule
6741285 Downloads
A PHPStan rule to detect safety issues. Must be used in conjunction with thecodingmachine/safe
shipmonk/phpstan-rules
475071 Downloads
Various extra strict PHPStan rules we found useful in ShipMonk.