sirbrillig/phpcs-import-detection
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).
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| phpcsstandards/phpcsdevcs | 0.87 | phpcsdevcs provides a set of PHP_CodeSniffer rules and configuration to enforce consistent coding standards across PHP projects. Drop-in standards for PHPCS with sensible defaults, helping teams catch style issues early and keep code clean and uniform. | 9 | 9 | 1 | 8K | 4 | 14.5 | 44.7 | LGPL-3.0 | 5 months ago | |
| onramplab/onr-phpcs-laravel | 0.86 | Opinionated PHP_CodeSniffer ruleset for Laravel projects. Provides a ready-to-use PHPCS configuration with Laravel-focused coding standards to help keep code style consistent across your app and team. | 0 | 0 | 0 | 525 | 0 | 0.0 | 37.8 | Unlicense | — | |
| pccomponentes/coding-standard | 0.86 | 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 | |
| lcobucci/coding-standard | 0.85 | PHP_CodeSniffer ruleset based on Doctrine’s coding standard with small tweaks. Install and use it in your projects to enforce consistent formatting and code style via phpcs in CI and local development. | 6 | 6 | 2 | 4K | 1 | 22.8 | 43.1 | MIT | 1 month ago | |
| jakub-onderka/php-code-style | 0.85 | 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 | |
| imanghafoori/php-imports-analyzer | 0.85 | CLI tool to scan Composer-based PHP projects for unnecessary or incorrect use/import statements. Helps clean up imports and enforce coding standards across apps and open-source packages. Install as dev dependency or globally; run check_imports from your project root. | 21 | 21 | 1 | 7K | 0 | 0.1 | 34.6 | MIT | — | |
| wdes/coding-standard | 0.85 | — | 0 | 0 | 0 | 1K | 0 | 3.0 | 43.6 | Unlicense | 2 years ago | |
| covex-nn/phpqatools | 0.85 | — | 4 | 5 | 0 | 0 | 0 | 0.0 | — | — | — | |
| iodigital-com/php-code-sniffer-standard | 0.85 | 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 | 561 | 1 | 15.4 | 37.4 | MIT | 4 months ago | |
| moxio/php-codesniffer-sniffs | 0.84 | 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 | 4K | 0 | 20.9 | 35.5 | MIT | 4 months ago | |
| phpcsstandards/phpcsutils | 0.84 | Utilities and helper classes for building and maintaining PHP_CodeSniffer (PHPCS) standards and sniffs. Provides common abstractions and compatibility helpers to simplify writing custom rulesets and speed up development of consistent coding standards. | 63 | 63 | 8 | 2M | 25 | 25.7 | 68.3 | LGPL-3.0 | 5 months ago | |
| contributte/qa | 0.84 | 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 | 12.9 | 52.9 | MIT | 5 months ago | |
| fig-r/psr2r-sniffer | 0.84 | 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 | |
| phpcq/repository-definition | 0.84 | 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 | 36 | 0 | 0.0 | 21.7 | MIT | — | |
| sandfox.dev/code-standard | 0.84 | 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 | — | |
| php-collective/code-sniffer | 0.84 | 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 | |
| spryker/code-sniffer | 0.83 | 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.9 | 50.4 | MIT | 3 months ago | |
| phpcq/coding-standard | 0.83 | — | 1 | 1 | 3 | 44 | 4 | 1.2 | 19.9 | BSD-3-Clause | — |
How can I help you explore Laravel packages today?