squizlabs/php_codesniffer
PHP_CodeSniffer tokenizes PHP files to detect coding standard violations and automatically fix them. It ships two scripts: phpcs for sniffing and phpcbf for auto-correction, keeping code clean and consistent across teams and CI. The official continuation of the Squizlabs package.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| shiftonelabs/codesniffer-standard | 0.90 | 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 | 109 | 0 | 0.1 | 28.2 | MIT | — | |
| 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. | 1 | 1 | 3 | 4K | 5 | 1.5 | 46.1 | NOASSERTION | 1 year ago | |
| phpcsstandards/phpcsdevtools | 0.90 | Developer toolkit for PHP_CodeSniffer sniff authors. Check that every sniff in a standard is feature complete, debug sniffs with detailed trace output, and validate documentation XSD files. Install locally, globally, or stand-alone via Composer. | 17 | 17 | 6 | 14K | 5 | 24.6 | 49.8 | LGPL-3.0 | 4 days ago | |
| phpcompatibility/php-compatibility | 0.89 | 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,311 | 2,314 | 203 | 3M | 89 | 48.2 | 65.3 | LGPL-3.0 | 11 months ago | |
| phpcq/coding-standard | 0.89 | — | 1 | 1 | 3 | 218 | 4 | 1.2 | 29.2 | BSD-3-Clause | — | |
| shlinkio/php-coding-standard | 0.89 | 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 | 3K | 1 | 0.1 | 27.3 | MIT | — | |
| genealabs/php-coding-standards | 0.89 | A ready-made set of PHP coding standards from GeneaLabs for Laravel and general PHP projects. Drop-in configuration helps enforce consistent style, simplify linting, and keep your codebase clean, uniform, and easy to maintain across teams. | 16 | 16 | 1 | 266 | 2 | 0.9 | 18.2 | — | 4 years ago | |
| phpcsstandards/phpcsutils | 0.89 | PHPCSUtils is a suite of utility functions for PHP_CodeSniffer, giving standard authors reliable, backward-compatible helpers for token handling, sniff testing, and cross-version support. Integrates via Composer or manually; PHP 5.4 to 8.5. | 63 | 63 | 10 | 4M | 25 | 30.3 | 70.3 | LGPL-3.0 | 3 months ago | |
| isaac/php-code-sniffer-standard | 0.89 | A PHP_CodeSniffer standard that bundles reusable coding-style rules for PHP projects, helping teams enforce consistent conventions and catch code-quality issues in local development and CI. Install via Composer and reference it in your phpcs.xml configuration. | 10 | 9 | 2 | 6 | 1 | 0.1 | 1.8 | MIT | — | |
| jin2chen/phpcs-phar | 0.89 | A Composer-installable PHAR distribution of PHP_CodeSniffer (PHPCS), making it easy to run coding-standard checks in local development and CI without managing a separate PHPCS installation. | 10,765 | 0 | 1,440 | 8 | 197 | 60.3 | 26.3 | BSD-3-Clause | 3 years ago | |
| neuecommerce/coding-standards | 0.89 | Opinionated PHP coding standards for projects using Laravel Pint. Provides a ready-to-use Pint configuration and consistent formatting rules to keep code style uniform across teams and repositories. | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| drupal/coder | 0.89 | — | 30 | 41 | 52 | 1M | 0 | 2.2 | 56.4 | — | — | |
| dealerdirect/phpcodesniffer-composer-installer | 0.89 | Composer plugin that automatically finds PHP_CodeSniffer coding standards installed via Composer and configures phpcs's installed_paths for you, so you can skip manual symlinking, repository checkouts, and config edits. | 602 | 610 | 38 | 5M | 6 | 24.1 | 62.6 | MIT | 6 months ago | |
| phpcsstandards/php_codesniffer | 0.89 | PHP_CodeSniffer is a PHP library that tokenizes PHP, JavaScript, and CSS files to detect violations of a defined coding standard. It includes phpcs for detecting violations and phpcbf for automatically fixing them, ensuring consistent, clean code across your projects. | 1,567 | 1,564 | 119 | 18K | 174 | 46.7 | 45.6 | BSD-3-Clause | 3 months ago | |
| binsoul/coding-standard | 0.88 | 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 | 12 | 0 | 0.0 | 15.4 | MIT | — | |
| pccomponentes/coding-standard | 0.88 | 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 | 25.1 | 40.4 | MIT | 4 months ago | |
| keboola/coding-standard | 0.88 | Keboola Coding Standard provides PHP_CodeSniffer rules and sniffs for enforcing consistent code style across Keboola PHP projects. It bundles customizable rule sets that help teams catch style issues early and keep codebases clean, readable, and maintainable. | 1 | 1 | 0 | 5K | 7 | 6.5 | 50.7 | MIT | 9 months ago | |
| wyrihaximus/coding-standard | 0.88 | wyrihaximus/coding-standard is a PHP coding standard package for defining and enforcing consistent code style across PHP projects. It provides a shared standard to help keep formatting and conventions uniform in a codebase. | 0 | 0 | 0 | 200K | 1 | 29.9 | 65.6 | MIT | 1 week ago | |
| doctrine/coding-standard | 0.88 | Doctrine Coding Standard provides a shared PHP_CodeSniffer ruleset used across Doctrine projects. Based heavily on Slevomat, it helps enforce consistent formatting, naming, and best practices in PHP codebases via an easy-to-install package. | 319 | 323 | 50 | 558K | 5 | 13.5 | 48.3 | MIT | 1 year ago | |
| instaclick/coding-standard | 0.88 | — | 1 | 1 | 5 | 34 | 0 | 0.3 | 17.3 | — | — |
How can I help you explore Laravel packages today?