php-collective/code-sniffer
PHP CodeSniffer rulesets from PhpCollective: PSR-2 compliant with many extra sniffs/fixers (incl. PSR-12) plus a stricter PhpCollectiveStrict standard. Install via Composer, configure phpcs.xml, run phpcs/phpcbf to check and auto-fix code style.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| spryker/code-sniffer | 0.92 | Spryker Code Sniffer is a PHP_CodeSniffer ruleset for Spryker projects. Enforces Spryker coding standards and best practices, supports automated code style checks in CI, and helps keep code consistent across teams and modules. | 37 | 37 | 12 | 40K | 6 | 25.8 | 50.1 | MIT | 3 months ago | |
| fig-r/psr2r-sniffer | 0.89 | PHP_CodeSniffer ruleset implementing PSR-2-R for PHP 8.1+ projects. Includes 190+ sniffs, supports CI, and can auto-fix many issues via phpcbf. Install with Composer and reference the bundled PSR2R ruleset in phpcs.xml. | 32 | 33 | 8 | 39K | 0 | 22.2 | 47.2 | MIT | 4 months ago | |
| iodigital-com/php-code-sniffer-standard | 0.88 | Extends PHP_CodeSniffer with iO Digital coding standards. Install via Composer, add an IO ruleset to your phpcs.xml, configure excluded paths and PHP version ranges, and run vendor/bin/phpcs. Includes guidance for properly ignoring sniff violations. | 1 | 1 | 3 | 561 | 1 | 15.4 | 37.4 | MIT | 4 months ago | |
| chaplean/coding-standard | 0.88 | Chaplean Coding Standard provides a ready-to-use PHP_CodeSniffer ruleset for consistent PHP and Laravel code style. Drop-in configuration to enforce formatting, naming conventions, and best practices across your project and CI. | 0 | 0 | 0 | 10 | 0 | 0.0 | 14.4 | — | — | |
| moxio/php-codesniffer-sniffs | 0.87 | Custom PHP_CodeSniffer 3.x sniffs from Moxio to catch subtle PHP bugs and unexpected behavior. Provides a standalone ruleset or individual sniffs for other standards, enforcing safer comparisons, strict base64_decode, switch continue rules, and more. | 17 | 18 | 11 | 4K | 0 | 20.9 | 35.5 | MIT | 4 months ago | |
| pccomponentes/coding-standard | 0.87 | PcComponentes Coding Standard adds PHP_CodeSniffer sniffs to enforce consistent PHP style. Install via Composer as a dev dependency and reference vendor/pccomponentes/coding-standard/src/ruleset.xml in your phpcs.xml(.dist) to apply the rules. | 3 | 3 | 3 | 1K | 0 | 18.9 | 37.9 | MIT | 6 months ago | |
| shlinkio/php-coding-standard | 0.86 | PHP_CodeSniffer ruleset used by Shlink projects. Extends PSR-12 with strict comparisons, no long arrays, spaced concatenation, no unused imports, ordered uses, required type hints/return types, trailing commas in multiline, and other modern PHP formatting rules. | 3 | 4 | 2 | 4K | 1 | 0.1 | 29.2 | MIT | — | |
| shiftonelabs/codesniffer-standard | 0.86 | Opinionated PHP_CodeSniffer ruleset by ShiftOneLabs. Provides a shared coding standard for consistent style, formatting, and best practices across PHP/Laravel projects. Easy to install and run with phpcs in CI or local development. | 0 | 0 | 1 | 33 | 0 | 0.1 | 21.2 | MIT | — | |
| phpyh/coding-standard | 0.86 | PHPyh Coding Standard provides a ready-to-use PHP CS Fixer configuration for consistent formatting across your project. Install via Composer and apply the PhpCsFixerCodingStandard to your .php-cs-fixer.dist.php, with support for overriding rules. | 23 | 23 | 1 | 2K | 1 | 12.5 | 27.3 | MIT | 7 months ago | |
| slevomat/coding-standard | 0.85 | — | 1,481 | 1,490 | 194 | 3M | 92 | 61.5 | 80.4 | MIT | 4 weeks ago | |
| cakephp/cakephp-codesniffer | 0.85 | CakePHP coding standard for PHP_CodeSniffer. Fully PSR-12 compliant plus additional CakePHP-specific sniffs and fixers. Install via Composer and run phpcs with --standard=CakePHP (or use a phpcs.xml) to check and auto-fix your code. | 231 | 237 | 84 | 211K | 4 | 20.1 | 44.1 | MIT | 8 months ago | |
| contributte/qa | 0.85 | Contributte QA is a dev-only Composer package that bundles and streamlines PHP quality assurance tooling for your project. Install via composer require --dev contributte/qa and follow the included docs to integrate checks into your workflow/CI. | 2 | 3 | 6 | 9K | 0 | 12.9 | 52.9 | MIT | 5 months ago |
How can I help you explore Laravel packages today?