phpcompatibility/php-compatibility
PHPCompatibility is a PHP_CodeSniffer ruleset that scans PHP code for cross-version compatibility issues. Check support for specific PHP versions, detect deprecated/removed features, and audit projects when upgrading or maintaining multi-version support.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ramsey/coding-standard | 0.91 | ramsey/coding-standard provides Ramsey’s PHP_CodeSniffer ruleset to enforce consistent, modern PHP style across projects. Easy to install, integrates with CI, and helps catch formatting and code quality issues early with sensible defaults. | 9 | 9 | 4 | 4K | 0 | 12.5 | 38.2 | MIT | 8 months ago | |
| phpcsstandards/php_codesniffer | 0.89 | 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,573 | 1,564 | 120 | 18K | 175 | 46.4 | 45.4 | BSD-3-Clause | 3 months ago | |
| webimpress/coding-standard | 0.89 | Opinionated PHP_CodeSniffer rules from Webimpress for consistent PHP style. Extends common standards, adds project conventions, and ships with ready-to-use configs for enforcing formatting and best practices across your codebase. | 15 | 15 | 7 | 84K | 5 | 9.2 | 53.7 | BSD-2-Clause | 2 years ago | |
| phpcompatibility/phpcompatibility-paragonie | 0.89 | PHP_CodeSniffer rulesets that extend PHPCompatibility to account for Paragonie polyfills (random_compat and sodium_compat), reducing false positives when checking PHP cross-version compatibility. Includes separate RandomCompat and SodiumCompat standards. | 10 | 12 | 2 | 2M | 0 | 5.0 | 56.0 | LGPL-3.0 | 11 months ago | |
| php-collective/code-sniffer | 0.89 | 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 | |
| wdes/coding-standard | 0.89 | — | 0 | 0 | 0 | 508 | 0 | 3.0 | 37.4 | Unlicense | 2 years ago | |
| consistence/coding-standard | 0.88 | 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 | |
| pekral/phpcs-rules | 0.88 | pekral/phpcs-rules provides custom PHP_CodeSniffer rules and coding-standard configuration for PHP projects, helping teams enforce consistent style, catch common issues, and integrate automated checks into development and CI workflows. | 0 | 0 | 0 | 2K | 0 | 13.3 | 49.5 | MIT | 4 months ago | |
| phpcsstandards/phpcsutils | 0.88 | 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 | |
| shlinkio/php-coding-standard | 0.88 | PHP_CodeSniffer ruleset used by Shlink projects. Extends PSR-12 with strict comparisons, no long arrays, spaced concatenation, no unused imports, ordered uses, required type hints/return types, trailing commas in multiline, and other modern PHP formatting rules. | 3 | 4 | 2 | 3K | 1 | 0.1 | 27.3 | MIT | — | |
| sstalle/php7cc | 0.88 | — | 1,507 | 1,456 | 121 | 1K | 20 | 18.9 | 10.6 | MIT | 9 years ago | |
| wimg/php-compatibility | 0.88 | PHP_CodeSniffer ruleset that checks your code for PHP version compatibility. It detects functions, syntax, and features unavailable in your target PHP version, helping you migrate safely and keep supporting older releases. | 2,311 | 2,309 | 203 | 4K | 89 | 39.1 | 32.4 | LGPL-3.0 | 11 months ago | |
| vierwd/coding-standard | 0.88 | PHP coding standard ruleset from VIERWD built on PHP_CodeSniffer, with sniffs and automatic fixes that enforce a consistent code style across PHP and Laravel projects. Install via Composer and run it in CI or your editor to lint and auto-format code. Includes ready-made rulesets for quick setup. | 0 | 0 | 0 | 14 | 0 | 0.0 | 16.2 | MIT | 3 years ago | |
| phpcompatibility/phpcompatibility-wp | 0.88 | WordPress-focused PHP_CodeSniffer ruleset for checking PHP cross-version compatibility. Built on PHPCompatibility, it avoids false positives by excluding WordPress backfills and polyfills so you can scan WP plugins, themes, and sites accurately. | 224 | 230 | 13 | 2M | 1 | 7.9 | 56.3 | LGPL-3.0 | 10 months ago | |
| jin2chen/phpcs-phar | 0.88 | 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 | |
| ely/php-code-style | 0.88 | Opinionated PHP-CS-Fixer rule set from Ely.by for PHP 7.4+ projects. Install alongside friendsofphp/php-cs-fixer, add a .php-cs-fixer.php using Ely\CS\Config, optionally override rules, then run php-cs-fixer to lint and fix code style. | 4 | 4 | 3 | 674 | 1 | 2.6 | 29.4 | Apache-2.0 | 3 years ago | |
| genealabs/php-coding-standards | 0.87 | A ready-made set of PHP coding standards from GeneaLabs for Laravel and general PHP projects. Drop-in configuration helps enforce consistent style, simplify linting, and keep your codebase clean, uniform, and easy to maintain across teams. | 16 | 16 | 1 | 266 | 2 | 0.9 | 17.2 | — | 4 years ago | |
| chadicus/coding-standard | 0.87 | A PHP coding standard package for enforcing consistent code style across projects, built around PHP_CodeSniffer rules. Useful for teams wanting shared conventions in Laravel or general PHP codebases, though adoption is minimal. | 2 | 2 | 2 | 460 | 0 | 0.5 | 30.2 | MIT | 2 years ago | |
| flaconi/coding-standard | 0.87 | A Composer package from Flaconi that bundles a shared PHP coding standard, providing PHP_CodeSniffer rules and configuration to enforce consistent style across Laravel/PHP projects. Install via Composer and run the included ruleset locally or in CI. | 0 | 0 | 1 | 206 | 0 | 0.0 | 22.6 | MIT | 5 years ago | |
| tightenco/tighten-coding-standard | 0.87 | 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 | — | — |
How can I help you explore Laravel packages today?