Skip to content

Commit

Permalink
minor PHP-CS-Fixer#331 Added Composer global installation instruction…
Browse files Browse the repository at this point in the history
…s (kix)

This PR was merged into the 0.4.x-dev branch.

Discussion
----------

Added Composer global installation instructions

Commits
-------

4e11e28 Added Composer global installation instructions
  • Loading branch information
fabpot committed Mar 30, 2014
2 parents a821378 + 4e11e28 commit e7f3601
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 e7f3601

Please sign in to comment.