oauth2-server/installation.md
2014-10-13 16:06:57 +01:00

700 B
Executable File
Raw Blame History

layout title permalink
default Installation /installation/

Installation

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.

Otherwise create a new file in your project root called composer.json add set the contents to:

composer require league/oauth2-server:4.0.x-dev

Now, assuming you have installed Composer run composer update.

Ensure now that youve set up your project to autoload Composer-installed packages.