PHPackages                             unitedworldwrestling/oauth2-arena - 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. unitedworldwrestling/oauth2-arena

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

unitedworldwrestling/oauth2-arena
=================================

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

1.0.3(2y ago)015.6k↓50%MITPHP

Since Jul 2Pushed 1y ago4 watchersCompare

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

READMEChangelog (1)Dependencies (2)Versions (5)Used By (0)

UWW Arena Provider for OAuth 2.0 Client
=======================================

[](#uww-arena-provider-for-oauth-20-client)

This package provides Arena 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 unitedworldwrestling/oauth2-arena

```

Usage
-----

[](#usage)

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

### Client Credentials Flow

[](#client-credentials-flow)

```
$provider = new Unitedworldwrestling\OAuth2\Client\Provider\Arena([
    'clientId'          => '{arena-client-id}',
    'clientSecret'      => '{arena-client-secret}',
    'redirectUri'       => 'https://example.com/callback-url',
    'host'              => 'https://api.instagram.com' // Optional, defaults to https://api.instagram.com
]);

// Try to get an access token (using the https://arena.uww.io/grants/api_key grant)
$token = $provider->getAccessToken('https://arena.uww.io/grants/api_key');

// Optional: Now you have a token you can look up a users profile data
try {

    // We got an access token, let's now get the user's details
    $user = $provider->getResourceOwner($token);

    // Use these details to create a new profile
    printf('Hello %s!', $user->getName());

} catch (Exception $e) {

    // Failed to get user details
    exit('Oh dear...');
}

// Use this to interact with an API on the users behalf
echo $token->getToken();
```

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance26

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 92.3% 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 ~998 days

Total

3

Last Release

875d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6d213f849ad590b483b4f91ad48965d446c0863fe4cd75c3227c1252cdcce04f?d=identicon)[it\_uww](/maintainers/it_uww)

---

Top Contributors

[![eveyrat](https://avatars.githubusercontent.com/u/403226?v=4)](https://github.com/eveyrat "eveyrat (12 commits)")[![csabavirag](https://avatars.githubusercontent.com/u/10976654?v=4)](https://github.com/csabavirag "csabavirag (1 commits)")

### Embed Badge

![Health badge](/badges/unitedworldwrestling-oauth2-arena/health.svg)

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

###  Alternatives

[league/oauth2-google

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

41721.2M118](/packages/league-oauth2-google)[knpuniversity/oauth2-client-bundle

Integration with league/oauth2-client to provide services

83416.7M61](/packages/knpuniversity-oauth2-client-bundle)[thenetworg/oauth2-azure

Azure Active Directory OAuth 2.0 Client Provider for The PHP League OAuth2-Client

2509.6M48](/packages/thenetworg-oauth2-azure)[stevenmaguire/oauth2-keycloak

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

2275.9M27](/packages/stevenmaguire-oauth2-keycloak)[patrickbussmann/oauth2-apple

Sign in with Apple OAuth 2.0 Client Provider for The PHP League OAuth2-Client

1132.5M6](/packages/patrickbussmann-oauth2-apple)[microsoft/kiota-authentication-phpleague

Authentication provider for Kiota using the PHP League OAuth 2.0 client to authenticate against the Microsoft Identity platform

153.2M7](/packages/microsoft-kiota-authentication-phpleague)

PHPackages © 2026

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