2014-10-01 03:14:18 +05:30
|
|
|
|
---
|
|
|
|
|
layout: default
|
|
|
|
|
title: Installation
|
|
|
|
|
permalink: /installation/
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
# Installation
|
|
|
|
|
|
|
|
|
|
The recommended way of installing the library is via Composer.
|
|
|
|
|
|
2014-10-13 20:37:45 +05:30
|
|
|
|
In your project root just run:
|
2014-10-01 03:14:18 +05:30
|
|
|
|
|
2014-10-13 20:37:45 +05:30
|
|
|
|
~~~ shell
|
2014-10-13 20:36:57 +05:30
|
|
|
|
composer require league/oauth2-server:4.0.x-dev
|
2014-10-01 03:14:18 +05:30
|
|
|
|
~~~
|
|
|
|
|
|
|
|
|
|
Now, assuming you have [installed Composer](https://getcomposer.org/download/) run `composer update`.
|
|
|
|
|
|
|
|
|
|
Ensure now that you’ve set up your project to [autoload Composer-installed packages](https://getcomposer.org/doc/00-intro.md#autoloading).
|