PHPackages                             spirit-dev/oauth2-client-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Security](/categories/security)
4. /
5. spirit-dev/oauth2-client-bundle

AbandonedArchivedSymfony-bundle[Security](/categories/security)

spirit-dev/oauth2-client-bundle
===============================

Symfony OAuth2 Bundle client side

1.0(11y ago)2351GPL-v2PHPPHP &gt;=5.3.2

Since Jul 19Pushed 11y agoCompare

[ Source](https://github.com/spirit-dev/Oauth2ClientBundle)[ Packagist](https://packagist.org/packages/spirit-dev/oauth2-client-bundle)[ RSS](/packages/spirit-dev-oauth2-client-bundle/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (12)Used By (0)

DOCUMENT BEING WRITTEN
----------------------

[](#document-being-written)

Getting Started With SpiritDevO-Auth2ClientBundle
=================================================

[](#getting-started-with-spiritdevo-auth2clientbundle)

Introduction
------------

[](#introduction)

OAuth2ClientBundle is an OAuth2 flow manager. Define your API grants, your rendering template and thats all. It manages for you token flows from [OAuth2](http://oauth.net/2/) Protocol. It also provides a direct login to API side. Take a look to the following to get started with OAuth2ClientBundle ;)

Installation
------------

[](#installation)

Installation is a quick 3 steps process:

1. Download SpiritDevOAuth2ClientBundle
2. Enable the Bundle
3. Configure the SpiritDevOAuth2ClientBundle

### Step 1: Install SpiritDevOAuth2ClientBundle

[](#step-1-install-spiritdevoauth2clientbundle)

The preferred way to install this bundle is to rely on [Composer](http://getcomposer.org). Just check on [Packagist](https://packagist.org/packages/spirit-dev/oauth2-client-bundle) the version you want to install (in the following example, we used "dev-master") and add it to your `composer.json`:

```
{
    "require": {
        // ...
        "spirit-dev/oauth2-client-bundle": "dev-master"
    }
}
```

### Step 2: Enable the bundle

[](#step-2-enable-the-bundle)

Finally, enable the bundle in the kernel:

```
