PHPackages                             ely/oauth2-client - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. ely/oauth2-client

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

ely/oauth2-client
=================

Ely.by provider for league/oauth2-client

1.1.0(8y ago)13741MITPHP

Since Nov 25Pushed 3y ago2 watchersCompare

[ Source](https://github.com/elyby/league-oauth2-ely)[ Packagist](https://packagist.org/packages/ely/oauth2-client)[ Docs](https://github.com/elyby/league-oauth2-ely)[ RSS](/packages/ely-oauth2-client/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (2)Dependencies (3)Versions (3)Used By (0)

Ely.by Provider for OAuth 2.0 Client
====================================

[](#elyby-provider-for-oauth-20-client)

This package provides Ely.by OAuth 2.0 support for the PHP League's [OAuth 2.0 Client](https://github.com/thephpleague/oauth2-client).

[![Latest Version on Packagist](https://camo.githubusercontent.com/a7abc2a2c3a639a70e8b23960c362b8fb6a39b8ee5f578dc5ca06221d574a6e6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f656c792f6f61757468322d636c69656e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ely/oauth2-client)[![Total Downloads](https://camo.githubusercontent.com/55790b0e7dab2ab7f364c6fb2ca91fca7488aefd48ffa2110ead21066fef1c53/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f656c792f6f61757468322d636c69656e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ely/oauth2-client/stats)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/11dea1c7fcf50b1ebaf6cd510fbec6910b8b3ddcc2796d47db6556a2b30c0365/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f656c7962792f6c65616775652d6f61757468322d656c792f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/elyby/league-oauth2-ely)

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

[](#installation)

To install, use composer:

```
composer require ely/oauth2-client

```

Usage
-----

[](#usage)

Usage is the same as The League's OAuth client, using `\Ely\OAuth2\Client\Provider` as the provider. You can find more information in [League repository README](https://github.com/thephpleague/oauth2-client#authorization-code-grant).

You can get your own `clientId` and `clientSecret` at [Ely.by Account OAuth2 registration page](#).

```
