jakub-onderka/php-parallel-lint
Abandoned PHP tool for fast parallel linting (syntax checking) of PHP files with colored output and formats like Checkstyle/JSON. Install via Composer and run on directories with options for excludes, jobs, stdin, and git blame. Suggested alternative: php-parallel-lint/PHP-Parallel-Lint
php -l or PHP_CodeSniffer) in resource-constrained environments (e.g., shared hosting, CI minutes).Adopt if:
php -l or PHP_CodeSniffer’s serial checks.Avoid if:
php -l or parallel --jobs 4 php -l (shell-level parallelism) may suffice.For Executives: "This tool cuts PHP syntax validation time from minutes to seconds in our CI pipeline, directly reducing developer onboarding time and deployment bottlenecks. For a team of 50 engineers working on a 10,000-file PHP codebase, this could save ~200 hours/month in build wait times. The cost is negligible (open-source, no licensing fees), and the risk is mitigated by migrating to the maintained fork within our next roadmap cycle. It’s a no-brainer for operational efficiency."
For Engineering Leaders:
*"We’re proposing to replace our current serial php -l checks in CI with PHP Parallel Lint, which:
--exclude vendor).composer require swap. Let’s pilot this in the backend-services repo first."*For Developers:
*"Tired of waiting 30 seconds for php -l to run on your PR? PHP Parallel Lint makes syntax checks instant by running them in parallel. Here’s how to use it:
# Install
composer require --dev jakub-onderka/php-parallel-lint
# Run (excludes vendor/ and app/ directories)
vendor/bin/parallel-lint --exclude vendor --exclude app src/
# For colored output (recommended)
composer require --dev jakub-onderka/php-console-highlighter
Pro tip: Add this to your .git/hooks/pre-commit to catch errors before they hit CI. Note: This is a fork of an abandoned project—we’ll migrate to the official version soon, but it works great in the meantime."*
How can I help you explore Laravel packages today?