Update installation.md

This commit is contained in:
Alex Bilbie 2014-10-13 16:07:45 +01:00
parent 57a48c7bcc
commit dd16520083

View File

@ -8,9 +8,7 @@ permalink: /installation/
The recommended way of installing the library is via Composer. The recommended way of installing the library is via Composer.
If you already have a composer.json file in your root then add `"league/oauth2-server": "4.*"` in the require object. Then run `composer update`. In your project root just run:
Otherwise create a new file in your project root called composer.json add set the contents to:
~~~ shell ~~~ shell
composer require league/oauth2-server:4.0.x-dev composer require league/oauth2-server:4.0.x-dev