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
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| onramplab/onr-phpcs-laravel | 0.92 | 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 | — | |
| arty/php-coding-standard | 0.90 | — | 2 | 3 | 0 | 2 | 0 | 13.8 | 4.6 | MIT | 5 months ago | |
| phpat/phpat | 0.88 | PHPat is a PHPStan extension for architecture testing. Define readable architectural rules and automatically verify boundaries, dependencies, layers, and conventions in your PHP codebase during static analysis. Easy to install via Composer and PHPStan config. | 1,263 | 1,258 | 62 | 493K | 11 | 36.9 | 45.6 | MIT | 2 months ago | |
| moxio/php-codesniffer-sniffs | 0.86 | 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 | 20.8 | 35.1 | MIT | 4 months ago | |
| phpstan/phpstan | 0.86 | PHPStan is a static analysis tool for PHP that finds bugs without running your code. It catches whole classes of errors early, improving type safety and code correctness, and helps you spot issues before writing tests or deploying. | 13,968 | 14,039 | 951 | 9M | 1,051 | 93.7 | 72.2 | MIT | 1 week ago | |
| covex-nn/phpcb | 0.85 | PHP Code Beautifier (phpcb) for formatting and cleaning up PHP codebases. Helps apply consistent styling, improve readability, and standardize code output across projects and teams, suitable for use in local workflows or automation. | 2 | 2 | 2 | 27 | 0 | 0.0 | 9.8 | BSD-3-Clause | — | |
| pccomponentes/coding-standard | 0.85 | 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 | |
| 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 | 43K | 6 | 25.6 | 50.6 | MIT | 3 months ago | |
| sirbrillig/phpcs-import-detection | 0.82 | 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). | 32 | 32 | 7 | 8K | 10 | 8.4 | 36.3 | NOASSERTION | 3 years ago |
How can I help you explore Laravel packages today?