diff --git a/README.rst b/README.rst index 053c0094ef3..a65abb4f8ac 100644 --- a/README.rst +++ b/README.rst @@ -85,6 +85,15 @@ Globally (homebrew) $ brew install php-cs-fixer +Locally (PHIVE) +~~~~~~~~~~~~~~~ + +Install `PHIVE `_ and issue the following command: + +.. code-block:: bash + + $ phive install php-cs-fixer # use `--global` for global install + Update ------ @@ -124,6 +133,13 @@ You can update ``php-cs-fixer`` through this command: $ brew upgrade php-cs-fixer +Locally (PHIVE) +~~~~~~~~~~~~~~~~~~~ + +.. code-block:: bash + + $ phive update php-cs-fixer + Usage ----- diff --git a/src/Console/Command/ReadmeCommand.php b/src/Console/Command/ReadmeCommand.php index 3ff671cdca2..36528265703 100644 --- a/src/Console/Command/ReadmeCommand.php +++ b/src/Console/Command/ReadmeCommand.php @@ -131,6 +131,15 @@ protected function execute(InputInterface $input, OutputInterface $output) $ brew install php-cs-fixer +Locally (PHIVE) +~~~~~~~~~~~~~~~ + +Install `PHIVE `_ and issue the following command: + +.. code-block:: bash + + $ phive install php-cs-fixer # use `--global` for global install + Update ------ @@ -170,6 +179,13 @@ protected function execute(InputInterface $input, OutputInterface $output) $ brew upgrade php-cs-fixer +Locally (PHIVE) +~~~~~~~~~~~~~~~~~~~ + +.. code-block:: bash + + $ phive update php-cs-fixer + Usage -----