Skip to content

Commit

Permalink
Added Composer global installation instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
kix committed Mar 27, 2014
1 parent a821378 commit 4e11e28
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,22 @@ then:
Then, just run ``php-cs-fixer``.

Globally (Composer)
~~~~~~~~~~~~~~~~~~~

To install PHP-CS-Fixer, install Composer and issue the following command:

.. code-block:: bash
$ ./composer.phar global require fabpot/php-cs-fixer @stable
Then, make sure you have ``~/.composer/vendor/bin`` in your ``PATH``, and
you're good to go:

.. code-block:: bash
export PATH="$PATH:$HOME/.composer/vendor/bin"
Globally (homebrew)
~~~~~~~~~~~~~~~~~~~

Expand Down

0 comments on commit 4e11e28

Please sign in to comment.