PHPackages                             renanivo/authoritarian - 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. renanivo/authoritarian

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

renanivo/authoritarian
======================

An OAuth 2 client for PHP with multiple authorization flows support

0.0.3(12y ago)3991MITPHP

Since Nov 1Pushed 11y ago1 watchersCompare

[ Source](https://github.com/renanivo/authoritarian)[ Packagist](https://packagist.org/packages/renanivo/authoritarian)[ RSS](/packages/renanivo-authoritarian/feed)WikiDiscussions master Synced today

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

Authoritarian
=============

[](#authoritarian)

[![Build Status](https://camo.githubusercontent.com/112a716362113f7af010daf92409eae7666bfd2bc9c70cdc032c08a81de1b43e/68747470733a2f2f7472617669732d63692e6f72672f72656e616e69766f2f617574686f726974617269616e2e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/renanivo/authoritarian)[![Code Climate](https://camo.githubusercontent.com/596c63397da60e8acca7a2523fd15219a1161e00308297a1473515d8a694ec5d/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f72656e616e69766f2f617574686f726974617269616e2e706e67)](https://codeclimate.com/github/renanivo/authoritarian)[![Test Coverage](https://camo.githubusercontent.com/2408f6cc1b6355cc7b236aafaab30af71366f9abb2972ffee507eaa3ea4b659d/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f72656e616e69766f2f617574686f726974617269616e2f6261646765732f636f7665726167652e737667)](https://codeclimate.com/github/renanivo/authoritarian)

An OAuth 2 client for PHP with multiple authorization flows support

Install
-------

[](#install)

Get [composer](http://getcomposer.org/) and execute:

```
php composer.phar require renanivo/authoritarian
```

Usage
-----

[](#usage)

Just setup your flow and request an access token:

#### Client Credentials Flow

[](#client-credentials-flow)

```
