suin/phpcs-psr4-sniff
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| mreduar/laravel-phpcs | 0.90 | 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 | |
| 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 | |
| sirbrillig/phpcs-import-detection | 0.87 | PHPCS sniffs that warn when classes/functions/constants are used without an explicit import or fully-qualified name, and flags unused imports. Helps catch namespace issues during refactors (note: PHP 8 tokenization bug/performance caveats). | 33 | 33 | 8 | 9K | 10 | 8.4 | 36.2 | NOASSERTION | 3 years ago | |
| systemsdk/phpcpd | 0.87 | Detects duplicated PHP code with phpcpd, wrapping the original tool in a Composer-installable package for Laravel and other PHP projects. Run copy-paste detection from the command line or integrate it into your build pipeline to catch repeated logic early. | 17 | — | 2 | — | 0 | 19.4 | — | BSD-3-Clause | 2 weeks ago | |
| dealerdirect/phpcodesniffer-composer-installer | 0.87 | 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 | |
| zicht/standards-php | 0.87 | Zicht's shared PHP coding standards package bundles PHP_CodeSniffer rules and static analysis configuration for consistent code style across projects. Install it with Composer and reference the ruleset in your phpcs.xml to enforce quality checks. | 0 | 3 | — | 1 | — | 0.0 | 4.2 | — | — | |
| rskuipers/php-assumptions | 0.87 | PHP Assumptions is a static analysis tool that detects hidden assumptions in your code, like variables used without guarantees about their type or existence. It reports each assumption, helping you catch risky spots and improve type safety. Runs via Composer and CLI. | 164 | — | 12 | — | 9 | 3.7 | 2.6 | MIT | 1 year ago |
|
| phpcsstandards/phpcsextra | 0.87 | 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 | |
| phpcsstandards/phpcsutils | 0.87 | 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 | |
| vierwd/coding-standard | 0.86 | PHP coding standard ruleset from VIERWD built on PHP_CodeSniffer, with sniffs and automatic fixes that enforce a consistent code style across PHP and Laravel projects. Install via Composer and run it in CI or your editor to lint and auto-format code. Includes ready-made rulesets for quick setup. | 0 | 0 | 0 | 14 | 0 | 0.0 | 16.2 | MIT | 3 years ago | |
| spryker/code-sniffer | 0.86 | 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 | |
| isaac/php-code-sniffer-standard | 0.86 | 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 | — | |
| pb30/phpstan-composer-analysis | 0.86 | A PHPStan extension that analyzes your Composer dependencies alongside your code, flagging unused required packages and missing package requirements. Keep composer.json in sync with real usage while running your existing static analysis. | 17 | 17 | 1 | 16K | 1 | 1.5 | 41.4 | — | 11 months ago | |
| pekral/phpcs-rules | 0.86 | pekral/phpcs-rules provides custom PHP_CodeSniffer rules and coding-standard configuration for PHP projects, helping teams enforce consistent style, catch common issues, and integrate automated checks into development and CI workflows. | 0 | 0 | 0 | 2K | 0 | 13.3 | 49.5 | MIT | 4 months ago | |
| jrmajor/cs | 0.86 | jrmajor/cs is an opinionated coding standard package for PHP projects, bundling PHP-CS-Fixer rules and presets so you can enforce consistent code style across your codebase with minimal configuration and a single install. | 2 | 2 | 0 | 288 | 0 | 2.0 | 27.9 | — | 10 months ago | |
| phpcsstandards/php_codesniffer | 0.86 | 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 | |
| php-collective/code-sniffer | 0.86 | 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. | 7 | 7 | 1 | 72K | 0 | 32.1 | 64.0 | MIT | 1 week ago | |
| jin2chen/phpcs-phar | 0.86 | 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 | |
| squizlabs/php_codesniffer | 0.86 | 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 | |
| zebra-north/phpcs-short-types | 0.86 | A PHP_CodeSniffer ruleset that enforces short, consistent type declarations in PHP code. It flags long or legacy type names and helps keep type hints and annotations concise across your codebase, with easy integration into existing PHPCS setups and CI pipelines. | 2 | 2 | 0 | 5K | 0 | 6.8 | 46.6 | — | 8 months ago |
How can I help you explore Laravel packages today?