php-collective/code-sniffer
A PHP_CodeSniffer ruleset that follows PSR-2 and PSR-12 with many extra fixers on top, plus a stricter PhpCollectiveStrict standard. Install via Composer, add it to phpcs.xml, and run phpcs/phpcbf or composer scripts to check and auto-fix code style.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| spryker/code-sniffer | 0.89 | Spryker Code Sniffer is a PHPCS ruleset for PHP 8.3+ that follows PSR-2 and PSR-12 with extra Spryker convention sniffs. It ships Spryker, SprykerStrict, and opt-in SprykerConventions standards, and works via phpcs/phpcbf. | 37 | 38 | 12 | 59K | 5 | 29.0 | 52.8 | MIT | 2 months ago | |
| patchlevel/coding-standard | 0.89 | A shared PHP coding standard configuration for the Patchlevel ecosystem, bundling rule sets and fixer presets so teams can enforce consistent code style with minimal setup. Add it as a dev dependency and extend the ready-made config in your PHP-CS-Fixer or ECS setup to keep projects aligned without... | 1 | 1 | 0 | 23K | 2 | 0.8 | 55.5 | MIT | 3 years 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 | |
| suin/phpcs-psr4-sniff | 0.88 | suin/phpcs-psr4-sniff is a PHP_CodeSniffer sniff that validates PSR-4 autoloading rules, flagging namespace, directory, and filename mismatches so Composer autoloading stays reliable in Laravel and other PHP projects. | 27 | — | 17 | — | 0 | 0.9 | 0.4 | — | 5 years ago |
|
| phpcsstandards/phpcsutils | 0.88 | 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 | |
| mreduar/laravel-phpcs | 0.88 | Laravel PHPCS brings an opinionated PHP CodeSniffer ruleset and handy Artisan commands to your Laravel project, making it easy to lint code and auto-fix style issues so teams can enforce consistent coding standards and catch problems early. | 38 | 39 | 1 | 265 | 0 | 0.5 | 12.3 | MIT | 4 years 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 | |
| isaac/php-code-sniffer-standard | 0.88 | 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 | — | |
| phpcq/coding-standard | 0.88 | — | 1 | 1 | 3 | 218 | 4 | 1.2 | 29.2 | BSD-3-Clause | — | |
| palmtree/php-cs-fixer-config | 0.88 | Shared PHP CS Fixer configuration for Palmtree projects, providing an opinionated ruleset for consistent, modern PHP code style. Install via Composer and extend the base config to enforce project-wide formatting standards with minimal setup. | 0 | 0 | 0 | 648 | 0 | 0.0 | 38.8 | MIT | — | |
| 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 | 600 | 1 | 11.7 | 37.0 | 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 | |
| artisanpack-ui/code-style | 0.88 | A custom PHP_CodeSniffer standard for ArtisanPack UI projects, with 16+ sniffs enforcing consistent formatting, naming, security, and best practices. Install via Composer, add a phpcs.xml ruleset, and run phpcs to check your code. | 0 | 0 | 0 | 4K | 19 | 23.9 | 62.5 | MIT | 2 months ago | |
| dealerdirect/phpcodesniffer-composer-installer | 0.88 | 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. | 603 | 610 | 38 | 9M | 5 | 23.0 | 61.8 | MIT | 6 months ago | |
| phpcsstandards/phpcsextra | 0.88 | PHPCSExtra is a collection of extra sniffs and coding standards for PHP_CodeSniffer, including Modernize, NormalizedArrays, and Universal rules to help enforce consistent, modern PHP code. Requires PHP 5.4+ and PHPCS 3.13.6/4.x. | 104 | 104 | 8 | 4M | 36 | 33.2 | 77.1 | LGPL-3.0 | 3 months ago | |
| moxio/php-codesniffer-sniffs | 0.88 | 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 | 3K | 0 | 16.6 | 33.4 | MIT | 9 months ago | |
| alleyinteractive/alley-coding-standards | 0.88 | A Composer package offering Alley Interactive’s PHP_CodeSniffer coding standards for WordPress and PHP projects. It provides rulesets to enforce consistent style and best practices, helping teams standardize reviews and CI checks. | 7 | 7 | 0 | 36K | 3 | 20.9 | 60.7 | GPL-2.0 | 1 week ago | |
| squizlabs/php_codesniffer | 0.88 | 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. | 1,567 | 1,739 | 119 | 7M | 174 | 56.6 | 81.9 | BSD-3-Clause | 3 months ago | |
| genealabs/php-coding-standards | 0.87 | 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 | 17.2 | — | 4 years ago | |
| phpcsstandards/php_codesniffer | 0.87 | 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 |
How can I help you explore Laravel packages today?