Libraries tagged by rule
spaze/phpstan-disallowed-calls
14540548 Downloads
PHPStan rules to detect disallowed method & function calls, constant, namespace, attribute & superglobal usages, with powerful rules to re-allow a call or a usage in places where it should be allowed.
rlanvin/php-rrule
8513426 Downloads
Lightweight and fast recurrence rules for PHP (RFC 5545)
phpcompatibility/phpcompatibility-wp
24451961 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
28247324 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
3115722 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
24122348 Downloads
Drupal extension and rules for PHPStan
magento/magento-coding-standard
11951304 Downloads
A set of Magento specific PHP CodeSniffer rules.
intervention/validation
5589739 Downloads
Additional validation rules for the Laravel framework
escapestudios/symfony2-coding-standard
10116688 Downloads
CodeSniffer ruleset for the Symfony 2+ coding standard
automattic/vipwpcs
8277293 Downloads
PHP_CodeSniffer rules (sniffs) to enforce WordPress VIP minimum coding conventions
fgrosse/phpasn1
32080029 Downloads
A PHP Framework that allows you to encode and decode arbitrary ASN.1 structures using the ITU-T X.690 Encoding Rules.
ruler/ruler
737125 Downloads
A simple stateless production rules engine for modern PHP.
object-calisthenics/phpcs-calisthenics-rules
2575776 Downloads
PHP CodeSniffer Object Calisthenics rules/sniffs
thecodingmachine/phpstan-strict-rules
6434318 Downloads
A set of additional rules for PHPStan based on best practices followed at TheCodingMachine
thecodingmachine/phpstan-safe-rule
8198645 Downloads
A PHPStan rule to detect safety issues. Must be used in conjunction with thecodingmachine/safe