Home

Awesome

PHP Parallel Lint

This repository is abandoned.

Suggested alternative: https://github.com/php-parallel-lint/PHP-Parallel-Lint


This tool checks syntax of PHP files faster than serial check with a fancier output.

Running parallel jobs in PHP is inspired by Nette framework tests.

Installation

Just run the following command to install it:

composer require --dev jakub-onderka/php-parallel-lint

For colored output also install the suggested package jakub-onderka/php-console-highlighter:

composer require --dev jakub-onderka/php-console-highlighter

Example output

Example use of tool with error

Options for run

Recommended setting for usage with Symfony framework

For run from command line:

vendor/bin/parallel-lint --exclude app --exclude vendor .

Create Phar package

PHP Parallel Lint supports Box app for creating Phar package. First, install box app:

curl -LSs https://box-project.github.io/box2/installer.php | php

and then run this command in parallel lint folder, which creates parallel-lint.phar file.

box build

Downloads this Month Build Status Build status License