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
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| sandfox.dev/code-standard | 0.92 | Shared coding standards and tooling used across sandfox.dev PHP/Laravel packages. Provides a consistent rule set for formatting and static analysis to keep code style uniform, reduce review friction, and maintain quality across projects. | 0 | 0 | 0 | 6 | 0 | 0.0 | 11.7 | MIT-0 | — | |
| 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 | 2K | 0 | 0.0 | 44.3 | NOASSERTION | — | |
| pccomponentes/coding-standard | 0.90 | 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 | |
| spryker/code-sniffer | 0.89 | 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 | |
| dosfarma/coding-standard | 0.89 | Opinionated PHP/Laravel coding standard and tooling preset for DosFarma projects. Includes rules and configuration for consistent formatting and static analysis across repositories, helping keep code style unified in CI and local development. | 0 | 1 | 1 | 0 | 0 | 0.0 | — | MIT | — | |
| php-collective/code-sniffer | 0.89 | 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. | 7 | 7 | 0 | 40K | 0 | 29.8 | 57.4 | MIT | 1 week ago | |
| 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. | 103 | 103 | 7 | 2M | 25 | 23.6 | 68.2 | LGPL-3.0 | 6 months ago | |
| shiftonelabs/codesniffer-standard | 0.89 | 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 | — | |
| slevomat/coding-standard | 0.89 | — | 1,481 | 1,490 | 194 | 3M | 92 | 61.5 | 80.4 | MIT | 4 weeks ago | |
| aik099/coding-standard | 0.89 | A reusable PHP_CodeSniffer coding standard used across aik099 projects. Compatible with PHPCS 3.x+, includes a PHPCS-compliant standard and test suite, and can be run via phpcs --standard=... against your source and tests or integrated into IDEs. | 5 | 5 | 3 | 1K | 49 | 15.1 | 45.6 | BSD-3-Clause | 7 years ago | |
| fig-r/psr2r-sniffer | 0.88 | 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 | |
| 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. | 15 | 15 | 7 | 67K | 5 | 9.2 | 52.2 | 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+. | 598 | 606 | 39 | 4M | 6 | 32.4 | 65.2 | MIT | 1 month 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 | 410 | 103 | 123K | 15 | 9.6 | 39.1 | MIT | — | |
| jakub-onderka/php-code-style | 0.88 | A PHP coding style toolkit for consistent formatting and style enforcement across projects. Helps standardize code layout and conventions, making reviews easier and reducing style-related noise in diffs for teams and CI pipelines. | 0 | 0 | 1 | 34 | 0 | 0.4 | 21.3 | — | 12 years ago | |
| 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 | 19.7 | 35.8 | MIT | 3 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. | 17 | 17 | 6 | 13K | 4 | 4.7 | 42.7 | LGPL-3.0 | 11 months ago | |
| binsoul/coding-standard | 0.87 | PHP_CodeSniffer-based coding standard bundle for PHP projects, providing opinionated style rules and configurations to keep code consistent. Easy to install via Composer and integrate into CI for automated code style checks and enforcement. | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| cakephp/cakephp-codesniffer | 0.87 | 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 | |
| instaclick/symfony2-coding-standard | 0.87 | PHP_CodeSniffer ruleset for enforcing the Symfony2 Coding Standard in PHP projects. Helps keep formatting and conventions consistent across teams and CI, with ready-to-use sniffs and easy integration into existing development workflows. | 9 | 10 | 5 | 237 | 4 | 1.2 | 0.8 | — | 6 years ago |
How can I help you explore Laravel packages today?