PHPackages                             compwright/oauth2-domo - 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. compwright/oauth2-domo

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

compwright/oauth2-domo
======================

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

v1.1.0(1y ago)03.2k—8.3%1MITPHPPHP ^8.3 || ^8.4CI passing

Since Mar 31Pushed 1y agoCompare

[ Source](https://github.com/compwright/oauth2-domo)[ Packagist](https://packagist.org/packages/compwright/oauth2-domo)[ RSS](/packages/compwright-oauth2-domo/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (6)Versions (5)Used By (1)

Domo Provider for OAuth 2.0 Client
==================================

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

[![Latest Version](https://camo.githubusercontent.com/60d5e4fec2840ec65f9f729951ca83166856041ce61d75a3f9ef77bb3a345a7e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f636f6d707772696768742f6f61757468322d646f6d6f2e7376673f7374796c653d666c61742d737175617265)](https://github.com/compwright/oauth2-domo/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/5712efe3cd8ff7ea4155f0675abcdf451a8f06795ec88e3efb1ed19dea8b04e3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f636f6d707772696768742f6f61757468322d646f6d6f2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/compwright/oauth2-domo)

This package provides Domo 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 compwright/oauth2-domo

```

Usage
-----

[](#usage)

Usage is the same as The League's OAuth client, using `\Compwright\OAuth2\Domo\DomoProvider` as the provider.

### Client Credentials Code Flow

[](#client-credentials-code-flow)

```
$domoProviderFactory = new DomoProviderFactory();

$provider = $domoProviderFactory->new(
    clientId: 'your_client_id',
    clientSecret: 'your_client_secret',
);

$token = $provider->getAccessToken('client_credentials', [
    'scope' => ['data', 'user'],
]);

echo $token->getToken() . PHP_EOL;

// requires 'user' scope
$user = $provider->getResourceOwner($token);

echo $user->getId() . PHP_EOL;
echo $user->getName() . PHP_EOL;
echo $user->getEmail() . PHP_EOL;
```

Testing
-------

[](#testing)

```
$ make test
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](https://github.com/compwright/oauth2-domo/blob/master/CONTRIBUTING.md) for details.

Credits
-------

[](#credits)

- [Jonathon Hill](https://github.com/compwright)
- [All Contributors](https://github.com/compwright/oauth2-domo/contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](https://github.com/compwright/oauth2-domo/blob/master/LICENSE) for more information.

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance46

Moderate activity, may be stable

Popularity21

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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.

###  Release Activity

Cadence

Every ~0 days

Total

3

Last Release

413d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/138688?v=4)[Jonathon Hill](/maintainers/compwright)[@compwright](https://github.com/compwright)

---

Top Contributors

[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (3 commits)")

---

Tags

domooauth2-clientclientoauthoauth2authorizationauthorisationdomo

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/compwright-oauth2-domo/health.svg)

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

###  Alternatives

[mollie/oauth2-mollie-php

Mollie Provider for OAuth 2.0 Client

251.7M1](/packages/mollie-oauth2-mollie-php)[omines/oauth2-gitlab

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

36721.5k13](/packages/omines-oauth2-gitlab)

PHPackages © 2026

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