Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

README: update info about PHAR #77

Merged
merged 1 commit into from
Dec 6, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 4 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ The application is officially supported for use with PHP 5.3 to 8.1.
3. [History](#history)
4. [Command line options](#command-line-options)
5. [Recommended excludes for Symfony framework](#recommended-excludes-for-symfony-framework)
6. [Create Phar package](#create-phar-package)
7. [How to upgrade](#how-to-upgrade)
6. [How to upgrade](#how-to-upgrade)

## Installation

Expand All @@ -36,6 +35,9 @@ Alternatively you can install as a standalone `composer` project:
For colored output, install the suggested package `php-parallel-lint/php-console-highlighter`:

composer require --dev php-parallel-lint/php-console-highlighter

Since v1.3.0, a PHAR file is also made available for each release.
This PHAR file is published as an asset for each release and can be found on the [Releases](https://github.com/php-parallel-lint/PHP-Parallel-Lint/releases) page.

## Example output

Expand Down Expand Up @@ -91,18 +93,6 @@ To run from the command line:

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

## Create Phar package

PHP Parallel Lint supports [Box app](https://box-project.github.io/box2/) for creating Phar package. First, install box app:


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


then run the build command in parallel lint folder, which creates `parallel-lint.phar` file.


box build

## How to upgrade

Expand Down