PHPackages                             jpbernius/oauth2-doo - 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. jpbernius/oauth2-doo

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

jpbernius/oauth2-doo
====================

doo OAuth 2.0 Client Provider for The PHP League OAuth2-Client

15.3k[1 PRs](https://github.com/viovendi/oauth2-doo/pulls)PHP

Since Aug 6Pushed 4y ago1 watchersCompare

[ Source](https://github.com/viovendi/oauth2-doo)[ Packagist](https://packagist.org/packages/jpbernius/oauth2-doo)[ RSS](/packages/jpbernius-oauth2-doo/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (3)Used By (0)

doo Provider for OAuth 2.0 Client
=================================

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

[![Build Status](https://camo.githubusercontent.com/2200bae4613b25ee504660844ca2b61509edb8bed5c8c2f417bf35261b570517/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6a706265726e6975732f6f61757468322d646f6f2e737667)](https://travis-ci.org/jpbernius/oauth2-doo)[![Build Status](https://camo.githubusercontent.com/9ecf8e11fcdad62eab87cb9a7a05cc8bde69236d7d76aadac7f33e94c08ef9f2/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6a706265726e6975732f6f61757468322d646f6f2f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/jpbernius/oauth2-doo/build-status/master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/2b7a878d4840f86e122988e83f954dcf27fc8f4aa8801deb4af3d8f5e7e17dfd/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6a706265726e6975732f6f61757468322d646f6f2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/jpbernius/oauth2-doo/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/5c7eab5bf254edb4421b9775f2cf14796048d416ebb395f1ae25dfd375a3e720/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6a706265726e6975732f6f61757468322d646f6f2f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/jpbernius/oauth2-doo/?branch=master)[![License](https://camo.githubusercontent.com/8e1cc803f109379d08998852ac5237970713bd6a7d4a68642ac8a00ce380e1c4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6a706265726e6975732f6f61757468322d646f6f2e737667)](https://github.com/jpbernius/oauth2-doo/blob/master/LICENSE)[![Total Downloads](https://camo.githubusercontent.com/f5e0460c13b026c1fdb1da99e80d4c57f83ef519128932ad1a7a382372783a2c/68747470733a2f2f706f7365722e707567782e6f72672f6a706265726e6975732f6f61757468322d646f6f2f646f776e6c6f616473)](https://packagist.org/packages/jpbernius/oauth2-doo)

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

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

[](#installation)

To install, use composer:

```
composer require jpbernius/oauth2-doo

```

Usage
-----

[](#usage)

Usage is the same as The League's OAuth client, using `JPBernius\OAuth2\Client\Provider\DooProvider` as the provider.

### Authorization Code Flow

[](#authorization-code-flow)

```
$provider = new JPBernius\OAuth2\Client\Provider\DooProvider([
    'clientId' => 'YOUR_CLIENT_ID',
    'clientSecret' => 'YOUR_CLIENT_SECRET'
]);

$token = $provider->getAccessToken('client_credentials');
```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 76.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/e615a2ce4ef4e6cb3089d92fceeaeb48f1acdfe515bded5684a30ffd6f9ba93e?d=identicon)[jpbernius](/maintainers/jpbernius)

![](https://www.gravatar.com/avatar/437310afe896c2d990e17012564a80fd2c378f02be2dc24767dfb5770561c132?d=identicon)[flofu](/maintainers/flofu)

---

Top Contributors

[![jpbernius](https://avatars.githubusercontent.com/u/6382716?v=4)](https://github.com/jpbernius "jpbernius (10 commits)")[![code0dev](https://avatars.githubusercontent.com/u/24875078?v=4)](https://github.com/code0dev "code0dev (2 commits)")[![CipHuK](https://avatars.githubusercontent.com/u/2241839?v=4)](https://github.com/CipHuK "CipHuK (1 commits)")

### Embed Badge

![Health badge](/badges/jpbernius-oauth2-doo/health.svg)

```
[![Health](https://phpackages.com/badges/jpbernius-oauth2-doo/health.svg)](https://phpackages.com/packages/jpbernius-oauth2-doo)
```

###  Alternatives

[kartik-v/yii2-password

Useful password strength validation utilities for Yii Framework 2.0

761.2M17](/packages/kartik-v-yii2-password)[better-futures-studio/filament-local-logins

This is my package filament-local-logins

1334.6k](/packages/better-futures-studio-filament-local-logins)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
