squizlabs/php_codesniffer
PHP_CodeSniffer (PHPCS) provides phpcs to detect coding standard violations and phpcbf to automatically fix them. Tokenizes PHP files against defined standards to keep code clean and consistent, suitable for teams and CI.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| unleashedtech/php-coding-standard | 0.90 | Opinionated PHP coding standard by Unleashed Tech, built on PHP-CS-Fixer rules and presets to keep code style consistent across projects. Easy to install via Composer and integrate into CI for automated linting and formatting. | 0 | 1 | 0 | 754 | 0 | 0.0 | 39.8 | NOASSERTION | — | |
| phpcsstandards/phpcsextra | 0.89 | PHPCSExtra adds extra rules, sniffs, and tooling to enhance PHP_CodeSniffer code style checks. Designed to complement existing standards, it helps catch more issues, enforce consistency, and integrate smoothly into CI for cleaner PHP codebases. | 102 | 102 | 7 | 1M | 25 | 34.2 | 75.8 | LGPL-3.0 | 4 months ago | |
| webimpress/coding-standard | 0.88 | Opinionated PHP_CodeSniffer rules from Webimpress for consistent PHP style. Extends common standards, adds project conventions, and ships with ready-to-use configs for enforcing formatting and best practices across your codebase. | 14 | 14 | 7 | 62K | 5 | 29.2 | 61.9 | BSD-2-Clause | 1 year ago | |
| dealerdirect/phpcodesniffer-composer-installer | 0.88 | Composer installer plugin that automatically discovers and installs PHP_CodeSniffer coding standards (rulesets) from Composer packages. It configures PHPCS installed_paths for you, avoiding manual symlinks and configuration. Supports PHPCS 3/4 and Composer 2.2+. | 596 | 603 | 39 | 4M | 8 | 34.0 | 66.3 | MIT | 4 months ago | |
| escapestudios/symfony2-coding-standard | 0.88 | PHP_CodeSniffer ruleset applying Symfony2 coding standards. Helps enforce consistent formatting, naming, and best practices in Symfony/PHP projects. Easy to install via Composer and integrate into CI to catch style issues early. | 406 | 411 | 102 | 125K | 15 | 9.4 | 38.7 | MIT | — | |
| ramsey/coding-standard | 0.88 | ramsey/coding-standard provides Ramsey’s PHP_CodeSniffer ruleset to enforce consistent, modern PHP style across projects. Easy to install, integrates with CI, and helps catch formatting and code quality issues early with sensible defaults. | 10 | 10 | 4 | 2K | 0 | 25.8 | 37.1 | MIT | 1 month ago | |
| phpcsstandards/phpcsutils | 0.87 | Utilities and helper classes for building and maintaining PHP_CodeSniffer (PHPCS) standards and sniffs. Provides common abstractions and compatibility helpers to simplify writing custom rulesets and speed up development of consistent coding standards. | 62 | 62 | 7 | 2M | 25 | 35.4 | 75.3 | LGPL-3.0 | 4 months ago | |
| phpcsstandards/phpcsdevtools | 0.87 | Developer tools for building and maintaining PHP_CodeSniffer standards. Helps scaffold sniffs, run and debug PHPCS rules, manage tests, and streamline local workflows so you can create, validate, and ship custom coding standards faster. | 16 | 16 | 6 | 9K | 4 | 24.1 | 47.3 | LGPL-3.0 | 9 months ago | |
| php-collective/code-sniffer | 0.87 | PHP_CodeSniffer ruleset from PhpCollective. PSR-2 compliant with many extra sniffs/fixers (incl. PSR-12) plus an optional stricter standard (PhpCollectiveStrict). Install via Composer and run phpcs/phpcbf, or wire into CI/IDE. | 6 | 6 | 0 | 20K | 0 | 29.3 | 56.0 | MIT | 1 week ago | |
| lcobucci/coding-standard | 0.87 | lcobucci/coding-standard provides a PHP_CodeSniffer ruleset based on Doctrine’s coding standard, with a few tweaks. Use it to enforce consistent code style and best practices across PHP projects via phpcs in CI and local development. | 6 | 6 | 2 | 4K | 1 | 24.8 | 44.5 | MIT | 5 months ago | |
| fig-r/psr2r-sniffer | 0.87 | 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 | 23K | 0 | 29.4 | 46.2 | MIT | 2 months ago | |
| laminas/laminas-coding-standard | 0.87 | Provides Laminas PHP coding standard rules and tooling to enforce consistent code style and quality across projects, integrating with CI to automate checks and help teams follow Laminas conventions. | 33 | 33 | 17 | 53K | 5 | 27.0 | 54.2 | BSD-3-Clause | 10 months ago | |
| phpcompatibility/php-compatibility | 0.86 | PHPCompatibility is a PHP_CodeSniffer ruleset that scans PHP code for cross-version compatibility issues. Check support for specific PHP versions, detect deprecated/removed features, and audit projects when upgrading or maintaining multi-version support. | 2,282 | 2,294 | 204 | 2M | 86 | 65.6 | 80.1 | LGPL-3.0 | 4 months ago | |
| yoast/yoastcs | 0.86 | Yoast Coding Standards (YoastCS) provides Composer-installable rulesets for PHP_CodeSniffer plus PHP Parallel Lint, bundling Yoast sniffs and selected external standards (including WordPress). Use it to enforce consistent code style and quality in Yoast projects. | 22 | 22 | 1 | 18K | 16 | 33.2 | 53.1 | MIT | 3 weeks ago | |
| wp-coding-standards/wpcs | 0.84 | WordPress Coding Standards for PHP_CodeSniffer (WPCS) provides PHPCS rulesets and sniffs to enforce WordPress PHP style, best practices, security, and documentation guidelines. Install via Composer and run PHPCS to lint WordPress themes, plugins, and projects. | 2,746 | 2,781 | 517 | 1M | 222 | 77.7 | 75.8 | MIT | 4 months ago | |
| slevomat/coding-standard | 0.74 | — | 1,480 | 1,489 | 194 | 3M | 91 | 62.2 | 81.4 | MIT | 2 weeks ago |
How can I help you explore Laravel packages today?