sirbrillig/phpcs-variable-analysis
Static analysis rules for PHP_CodeSniffer that detect undefined, unused, and improperly scoped variables in PHP code. Helps enforce cleaner code, catches subtle variable bugs early, and improves overall code quality in CI and local linting workflows.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| phpcsstandards/phpcsutils | 0.89 | 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. | 62 | 62 | 7 | 2M | 25 | 35.4 | 75.3 | LGPL-3.0 | 4 months ago | |
| phpcsstandards/phpcsdevcs | 0.87 | Opinionated PHP_CodeSniffer rules and tooling for consistent, modern PHP codebases. Includes custom standards and configs aimed at improving readability, preventing common pitfalls, and keeping teams aligned with automated linting in CI and local development. | 9 | — | 1 | — | 4 | 21.1 | 0.9 | LGPL-3.0 | 4 months ago | |
| php-parallel-lint/php-console-highlighter | 0.85 | Highlight PHP source code in the terminal with readable, colorized syntax. php-console-highlighter works with ConsoleColor and can highlight whole files or snippets—ideal for CLI tools, linters, and test output to quickly spot errors and context. | 88 | 89 | 6 | 680K | 0 | 21.3 | 63.1 | MIT | 4 years ago | |
| phootwork/php-cs-fixer-config | 0.84 | Reusable PHP-CS-Fixer configuration by phootwork. Provides a shared ruleset and presets to standardize code style across projects, making it easy to apply consistent formatting in CI and local development with minimal setup. | 3 | 4 | 2 | 30 | 0 | 22.8 | 15.1 | MIT | 5 months ago | |
| phpcsstandards/phpcsextra | 0.83 | PHPCSExtra adds extra rules, sniffs, and tooling to enhance PHP_CodeSniffer code style checks. Designed to complement existing standards, it helps catch more issues, enforce consistency, and integrate smoothly into CI for cleaner PHP codebases. | 102 | 102 | 7 | 1M | 25 | 34.2 | 75.8 | LGPL-3.0 | 4 months ago | |
| sirbrillig/phpcs-import-detection | 0.83 | PHP_CodeSniffer plugin that detects unnecessary or missing PHP import (use) statements. Helps keep namespaces clean by flagging unused imports and suggesting fixes, improving code style consistency and reducing clutter in modern PHP projects. | 32 | — | 7 | — | 10 | 23.3 | 4.0 | NOASSERTION | 3 years ago | |
| phpmd/phpmd | 0.82 | PHPMD (PHP Mess Detector) scans PHP code for potential problems like overly complex methods, unused parameters, and suspicious code. It’s a CLI tool with configurable rulesets, Baseline support, and CI-friendly output formats to keep codebases clean. | 2,418 | 2,494 | 350 | 2M | 86 | 68.3 | 81.5 | BSD-3-Clause | 2 years ago | |
| wp-coding-standards/wpcs | 0.79 | WordPress Coding Standards for PHP_CodeSniffer (WPCS) provides PHPCS rulesets and sniffs to enforce WordPress PHP style, best practices, security, and documentation guidelines. Install via Composer and run PHPCS to lint WordPress themes, plugins, and projects. | 2,746 | 2,781 | 517 | 1M | 222 | 77.7 | 75.8 | MIT | 4 months ago | |
| php-collective/code-sniffer | 0.79 | PHP_CodeSniffer ruleset from PhpCollective. PSR-2 compliant with many extra sniffs/fixers (incl. PSR-12) plus an optional stricter standard (PhpCollectiveStrict). Install via Composer and run phpcs/phpcbf, or wire into CI/IDE. | 6 | 6 | 0 | 20K | 0 | 29.3 | 56.0 | MIT | 1 week ago |
How can I help you explore Laravel packages today?