Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Php Parallel Lint

Php Parallel Lint Laravel Package

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

View on GitHub
Deep Wiki
Context7

This tool check syntax of PHP files about 20x faster than serial check.

Frequently asked questions about Php Parallel Lint
Is this package still maintained? Should I use it in Laravel projects?
No, this package is abandoned since 2015. The original author recommends using the maintained fork at **php-parallel-lint/PHP-Parallel-Lint** instead. For Laravel, consider alternatives like **php-parallel-lint** or **roave/security-advisories** for modern linting needs.
How do I install PHP Parallel Lint in a Laravel project?
Run `composer require --dev jakub-onderka/php-parallel-lint` in your Laravel project root. For colored output, also install `jakub-onderka/php-console-highlighter`. Note: This is a legacy tool—prefer the maintained fork for new projects.
Does this work with Laravel’s PHP version (8.x)?
The package officially supports PHP ≥5.4.0, but it was last updated in 2015. Test thoroughly in PHP 8.x, or use the maintained fork (**php-parallel-lint/PHP-Parallel-Lint**), which supports modern PHP versions and includes security fixes.
How do I exclude Laravel’s `vendor/` and `node_modules/` directories?
Use the `--exclude` flag multiple times: `vendor/bin/parallel-lint --exclude vendor --exclude node_modules .`. This prevents scanning third-party dependencies, which is critical for Laravel projects to avoid false positives.
Can I integrate this into Laravel’s CI pipeline (GitHub Actions, GitLab CI)?
Yes, but use the `--checkstyle` or `--json` flag for machine-readable output. Example: `vendor/bin/parallel-lint --json --exclude vendor . > lint-results.json`. For CI, the maintained fork is safer due to active updates and compatibility.
What’s the performance difference vs. running `php -l` manually?
PHP Parallel Lint can be **20x faster** for large codebases by running parallel jobs (adjustable with `-j`). For a Laravel app with 1,000+ files, this tool significantly reduces CI wait times compared to serial `php -l` checks.
Does it support Git blame for failed lines in Laravel?
Yes, use `--blame` to show Git blame info for failing lines. Example: `vendor/bin/parallel-lint --blame src/`. This helps track who introduced syntax errors in Laravel’s codebase.
Are there security risks using this abandoned package?
Yes, abandoned packages may have unpatched vulnerabilities (e.g., PHP-CGI injection risks). Avoid passing untrusted paths to `-p` (PHP-CGI). For Laravel, prioritize the maintained fork or alternatives like **php-parallel-lint**, which include security updates.
Can I use this for static analysis in Laravel (e.g., SonarQube)?
Yes, generate Checkstyle XML (`--checkstyle`) or JSON (`--json`) for integration with SonarQube or other tools. However, this package only checks syntax—not coding standards (e.g., PSR-12). For full static analysis, combine it with **PHPStan** or **Psalm**.
What’s a good alternative for Laravel if this package is abandoned?
Use the maintained fork: **php-parallel-lint/PHP-Parallel-Lint** (same name, different repo). Other Laravel-friendly alternatives include **roave/security-advisories** (for security checks) or **dealerdirect/phpcodesniffer-composer-installer** for PSR compliance.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours
renatovdemoura/blade-elements-ui
devgeek/beacon-admin
benjamin-rqt/data-watcher-bundle
atriumphp/atrium
sandermuller/package-boost-laravel
sandermuller/boost-skills
redaxo/core
yusufgenc/filament-api-forge
l3aro/rating-star-for-filament
leek/filament-subtenant-scope
anil/file-picker
broqit/fields-ai