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
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| mreduar/laravel-phpcs | 0.85 | 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 | |
| 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 | |
| keboola/coding-standard | 0.85 | Keboola Coding Standard provides PHP_CodeSniffer rules and sniffs for enforcing consistent code style across Keboola PHP projects. It bundles customizable rule sets that help teams catch style issues early and keep codebases clean, readable, and maintainable. | 1 | 1 | 0 | 5K | 7 | 6.5 | 50.7 | MIT | 9 months ago | |
| lolli42/finediff | 0.85 | Create HTML diffs between two strings with fine-grained character or word comparison. Outputs / markup, escapes HTML entities, supports multibyte strings, and exposes internal opcodes for diff processing. PHP 8.2+ in v1.1. | 13 | 13 | 3 | 489K | 0 | 3.3 | 55.6 | MIT | 1 year ago | |
| phpcsstandards/php_codesniffer | 0.85 | 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 | |
| squizlabs/php_codesniffer | 0.84 | 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 | |
| tightenco/tighten-coding-standard | 0.84 | Tighten Coding Standard is an opinionated PHP_CodeSniffer ruleset for Laravel projects, enforcing consistent code style and catching common issues with minimal configuration. Install it via Composer and run it against your codebase. | 0 | 14 | — | 200 | — | 0.3 | 31.8 | — | — | |
| imanghafoori/php-imports-analyzer | 0.84 | 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 | 22 | 1 | 8K | 0 | 0.1 | 35.7 | MIT | — | |
| dealerdirect/phpcodesniffer-composer-installer | 0.84 | 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 | |
| artisanpack-ui/code-style | 0.84 | A custom PHP_CodeSniffer standard for ArtisanPack UI projects, with 16+ sniffs enforcing consistent formatting, naming, security, and best practices. Install via Composer, add a phpcs.xml ruleset, and run phpcs to check your code. | 0 | 0 | 0 | 4K | 19 | 23.9 | 62.5 | MIT | 2 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 | |
| pheromone/phpcs-security-audit | 0.84 | — | 724 | 731 | 78 | 61K | 18 | 12.4 | 35.4 | GPL-3.0 | 7 years ago | |
| dms/coding-standard | 0.84 | DMS Coding Standard provides a customized PHPCS ruleset for consistent PHP code style across repositories. Based on PSR-1/PSR-2 with Doctrine flavor, enforcing strict_types declarations and return type spacing rules. | 1 | 1 | 1 | 61 | 0 | 0.9 | 20.7 | — | 3 years ago | |
| isaac/php-code-sniffer-standard | 0.84 | 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 | — | |
| sstalle/php7cc | 0.84 | — | 1,507 | 1,456 | 121 | 1K | 20 | 18.9 | 10.6 | MIT | 9 years ago | |
| michelf/php-smartypants | 0.84 | PHP port of John Gruber’s SmartyPants: converts plain ASCII punctuation into typographically correct “smart” quotes, dashes, and ellipses. Useful for cleaning up HTML output from Markdown or other text sources, with configurable transformation options. | 113 | 117 | 22 | 218K | 2 | 2.0 | 46.8 | NOASSERTION | — | |
| phpcsstandards/phpcsdevtools | 0.83 | 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 | |
| sirbrillig/phpcs-variable-analysis | 0.83 | 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+. | 144 | 144 | 17 | 1M | 19 | 31.9 | 69.0 | NOASSERTION | 3 months ago | |
| phpcsstandards/phpcsutils | 0.83 | 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 | |
| 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 |
How can I help you explore Laravel packages today?