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

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

unitedworldwrestling/oauth2-athena
==================================

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

1.0.2(7y ago)15.9kMITPHP

Since Nov 5Pushed 7y ago5 watchersCompare

[ Source](https://github.com/unitedworldwrestling/oauth2-athena)[ Packagist](https://packagist.org/packages/unitedworldwrestling/oauth2-athena)[ RSS](/packages/unitedworldwrestling-oauth2-athena/feed)WikiDiscussions dev Synced today

READMEChangelogDependencies (2)Versions (3)Used By (0)

UWW Athena Provider for OAuth 2.0 Client
========================================

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

This package provides Athena 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-athena

```

Usage
-----

[](#usage)

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

### Client Credentials Flow

[](#client-credentials-flow)

```
$provider = new Unitedworldwrestling\OAuth2\Client\Provider\Athena([
    'clientId'          => '{athena-client-id}',
    'clientSecret'      => '{athena-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://athena.uww.io/grants/api_key grant)
$token = $provider->getAccessToken('https://athena.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

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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

Unknown

Total

1

Last Release

2798d 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 (1 commits)")

### Embed Badge

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

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

###  Alternatives

[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[thenetworg/oauth2-azure

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

25310.7M83](/packages/thenetworg-oauth2-azure)[league/oauth2-google

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

42223.4M176](/packages/league-oauth2-google)[stevenmaguire/oauth2-keycloak

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

2306.4M45](/packages/stevenmaguire-oauth2-keycloak)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751291.4k43](/packages/civicrm-civicrm-core)[patrickbussmann/oauth2-apple

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

1152.8M12](/packages/patrickbussmann-oauth2-apple)

PHPackages © 2026

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