PHPackages                             maer/oauth2-simple-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. maer/oauth2-simple-client

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

maer/oauth2-simple-client
=========================

Wrapper for league/oauth2-client with a simplified API and possibility to allow/deny e-mail addresses/domains

0.1.1(11y ago)124MITPHP

Since Feb 27Pushed 8y ago2 watchersCompare

[ Source](https://github.com/magnus-eriksson/oauth2-simple-client)[ Packagist](https://packagist.org/packages/maer/oauth2-simple-client)[ RSS](/packages/maer-oauth2-simple-client/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelogDependencies (1)Versions (4)Used By (0)

Oauth2 Simple Client
====================

[](#oauth2-simple-client)

[![Build Status](https://camo.githubusercontent.com/72a4626425a060d22837b2b98760efadc7e48855ad3547ea489a8bf76adc8e5c/68747470733a2f2f7472617669732d63692e6f72672f6d61676e75732d6572696b73736f6e2f6f61757468322d73696d706c652d636c69656e742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/magnus-eriksson/oauth2-simple-client)

Wrapper for [league/oauth2-client](https://github.com/thephpleague/oauth2-client) with a simplified API and possibility to black/whitelist e-mail addresses/domains.

It is framework agnostic so you can just plug and play.

Install
-------

[](#install)

You need composer to make this work, since this package is dependent on league/oauth2-client. I guess you could install that by hand as well, but since that package is dependent on other packages, you're setting yourself up for failure. ;-)

Add the package:

```
composer require maer/oauth2-simple-client 0.1.*

```

Make sure to include the composer-generated autoloader:

```
