sirbrillig/phpcs-variable-analysis
PHPCS plugin that analyzes variable usage: warns on undefined variables (including in unset), unused variables, and use of $this/self/static outside class scope. Works with PHPCS 3.13.5+ and PHP 5.4+.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| jin2chen/phpcs-phar | 0.85 | 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 | |
| sirbrillig/phpcs-import-detection | 0.85 | 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 | |
| squizlabs/php_codesniffer | 0.85 | 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 | |
| phpcsstandards/phpcsdevtools | 0.84 | 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 | |
| php-parallel-lint/php-var-dump-check | 0.84 | CI-friendly tool that scans your PHP code for leftover debugging statements like var_dump(), print_r(), die()/dd() and similar. Helps keep accidental dumps out of production by failing builds when debug output is found. | 22 | 22 | 11 | 43K | 5 | 2.7 | 47.3 | NOASSERTION | 6 years ago | |
| consistence/coding-standard | 0.84 | PHP coding standard for Consistence projects: a ready-to-use PHP_CodeSniffer ruleset plus configuration to enforce consistent style, naming, and best practices across codebases. Easy to adopt in CI and local development to keep code clean and uniform. | 74 | 79 | 22 | 2K | 4 | 11.7 | 22.6 | NOASSERTION | 6 years ago | |
| phpcsstandards/php_codesniffer | 0.84 | 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 | |
| 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 | 3K | 0 | 16.6 | 33.4 | MIT | 9 months ago | |
| phpcq/coding-standard | 0.83 | — | 1 | 1 | 3 | 218 | 4 | 1.2 | 29.2 | BSD-3-Clause | — | |
| mreduar/laravel-phpcs | 0.83 | 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 | |
| php-collective/code-sniffer | 0.83 | 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 | |
| jakub-onderka/php-var-dump-check | 0.83 | Abandoned CLI tool that scans PHP projects for leftover debug dumps (var_dump, print_r, var_export, plus Tracy/Ladybug/Symfony/Laravel/Doctrine/Zend helpers). Supports excludes, extension filtering, and optional colored output via console highlighter. | 27 | 24 | 14 | 533 | 5 | 2.8 | 20.2 | NOASSERTION | 8 years ago | |
| pheromone/phpcs-security-audit | 0.83 | — | 724 | 731 | 78 | 61K | 18 | 12.4 | 35.4 | GPL-3.0 | 7 years ago | |
| sstalle/php7cc | 0.83 | — | 1,507 | 1,456 | 121 | 1K | 20 | 18.9 | 10.6 | MIT | 9 years ago | |
| aik099/coding-standard | 0.83 | 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 | |
| pccomponentes/coding-standard | 0.83 | 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/phpcsdevcs | 0.83 | 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 | 12K | 4 | 7.0 | 44.4 | LGPL-3.0 | 10 months ago | |
| var-lab/coding-standard | 0.83 | A shared coding standard for Laravel and PHP projects, providing opinionated, ready-to-use rules for PHP-CS-Fixer and PHP_CodeSniffer so teams can enforce consistent formatting and style across codebases with minimal configuration. | 0 | 1 | — | 230 | — | 0.0 | 32.7 | — | — | |
| shiftonelabs/codesniffer-standard | 0.83 | 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 | — | |
| onramplab/onr-phpcs-laravel | 0.83 | 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 | 1K | 0 | 0.0 | 43.1 | Unlicense | — |
How can I help you explore Laravel packages today?