moxio/php-codesniffer-sniffs
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| sandfox.dev/code-standard | 0.93 | 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 | 97 | 0 | 0.0 | 27.5 | MIT-0 | — | |
| spryker/code-sniffer | 0.92 | 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 | |
| phpcq/coding-standard | 0.91 | — | 1 | 1 | 3 | 218 | 4 | 1.2 | 29.2 | BSD-3-Clause | — | |
| squizlabs/php_codesniffer | 0.90 | 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 | |
| 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 | — | |
| slevomat/coding-standard | 0.90 | — | 1,478 | 1,490 | 196 | 4M | 90 | 63.5 | 82.3 | MIT | 1 week ago | |
| phpcq/repository-definition | 0.89 | Repository definition package for the PHPCQ (PHP Code Quality) project, used to automate and configure code quality checks in CI pipelines. Part of the phpcq.org ecosystem built around tools like PHP_CodeSniffer and PHPMD. | 0 | 0 | 0 | 30 | 0 | 0.1 | 20.6 | MIT | — | |
| instaclick/object-calisthenics-sniffs | 0.89 | — | 6 | 6 | 2 | 36 | 0 | 0.1 | 10.9 | — | — | |
| contributte/qa | 0.89 | 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 | 11.5 | 52.3 | MIT | 10 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 | — | |
| flyeralarm/php-code-validator | 0.88 | FLYERALARM PHP coding guideline validator: a PSR-12 based PHP_CodeSniffer ruleset with extra standards like lowerCamelCase variables, no Yoda conditions, bans on eval/goto, namespace underscores, and certain class suffixes. Easy Composer embed via ruleset.xml. | 22 | 22 | 16 | 311 | 0 | 12.0 | 17.0 | MIT | 8 months ago | |
| 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 | |
| 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 | |
| aik099/coding-standard | 0.87 | 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 | 2K | 47 | 14.5 | 47.7 | BSD-3-Clause | 7 years ago | |
| iodigital-com/php-code-sniffer-standard | 0.86 | 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 | |
| cakephp/cakephp-codesniffer | 0.86 | 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. | 232 | 238 | 85 | 269K | 4 | 34.3 | 50.9 | MIT | 2 months ago | |
| instaclick/symfony2-coding-standard | 0.86 | 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 | 171 | 4 | 1.5 | 18.1 | — | 6 years ago | |
| yoast/yoastcs | 0.86 | Yoast Coding Standards (YoastCS) provides Composer-installable rulesets and tooling for PHP code style and quality in Yoast projects, including PHP_CodeSniffer standards/sniffs and PHP Parallel Lint. Integrates via Composer for consistent CI enforcement. | 22 | 22 | 1 | 20K | 16 | 30.1 | 52.6 | MIT | 3 months ago | |
| 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 | 0 | 2K | 1 | 7.9 | 27.6 | MIT | 1 year ago | |
| spaze/coding-standard | 0.85 | spaze/coding-standard provides PHP_CodeSniffer rule sets to enforce consistent PHP coding style and quality across projects. Install via Composer as a dev dependency and run PHPCS with the included standards; CI workflows validate XML and rules. | 2 | 2 | 0 | 10K | 0 | 13.0 | 51.0 | MIT | 11 months ago |
How can I help you explore Laravel packages today?