jin2chen/phpcs-phar
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.
require-dev dependency. It keeps PHPCS and its dependencies out of the application dependency graph, reduces version-conflict risk, and preserves the familiar vendor/bin/phpcs and vendor/bin/phpcbf workflow. Existing phpcs.xml rulesets remain usable, which keeps adoption friction low.phar extension available, and no binary-name collision with other linting tools.squizlabs/PHP_CodeSniffer, not this wrapper, so popularity should not be read as validation of this distribution. 0 dependents and a last release date of 2023-02-22 indicate low independent adoption and staleness. The documented upstream release is 3.6.0, which added PHP 8.0 support but is not sufficient evidence of PHP 8.1/8.2/8.3 support for modern Laravel applications. PHAR provenance, reproducibility, and update cadence are also unclear. The BSD-3-Clause license is acceptable, but the wrapper is not the official upstream distribution.squizlabs/php_codesniffer or an official PHAR?require-dev, retain or create phpcs.xml, baseline current violations, add a Composer script, run CI in non-blocking mode, fix or baseline findings, then make the check blocking and add pre-commit enforcement. If modern PHP syntax support is required, migrate to the official Composer package or official PHAR instead of extending the wrapper.ext-phar, and binary paths. Confirm that custom sniffs and ruleset references still work. Test on Windows/WSL if developers use those environments, because older PHPCS versions had path-related issues. Avoid floating versions; pin the package and cache Composer downloads in CI.ext-phar missing, Composer package abandonment or unavailability, unsupported modern PHP syntax causing parse errors or false positives, ruleset drift, binary-name collisions, and supply-chain concerns from an unverified PHAR. Stale standards can also create false confidence. Mitigations include exact pinning, internal mirroring/checksums, non-blocking pilot rollout, CI image validation, and a documented fallback to official PHPCS.phpcs/phpcbf usage, phpcs.xml ownership, suppression policy, CI gating, and the boundary with Laravel Pint. The TPM should frame this package as a short-term isolation tool with explicit adoption and exit criteria, not as a long-term strategic dependency.How can I help you explore Laravel packages today?