PHPackages                             cubequence/oauth - 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. cubequence/oauth

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

cubequence/oauth
================

PHP FusionAuth client made for CubeQuence

v1.1.2(5y ago)05.0k2MITPHPPHP &gt;=8.0.0

Since Apr 5Pushed 3y ago1 watchersCompare

[ Source](https://github.com/CubeQuence/oauth)[ Packagist](https://packagist.org/packages/cubequence/oauth)[ RSS](/packages/cubequence-oauth/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (6)Dependencies (3)Versions (18)Used By (2)

[![](https://raw.githubusercontent.com/CubeQuence/CubeQuence/master/public/assets/images/banner.png)](https://github.com/CubeQuence/oauth)

[![Total Downloads](https://camo.githubusercontent.com/45c2dc55a5ce9301d62c849fcca1b64298593a3cd3c080f8849f3e05c0bf1b58/68747470733a2f2f706f7365722e707567782e6f72672f637562657175656e63652f6f617574682f642f746f74616c2e737667)](https://packagist.org/packages/cubequence/oauth)[![Latest Stable Version](https://camo.githubusercontent.com/8882d9990d1830a9c096c870564bababc35c1d24d3867a34bd1d59c1420ee4c9/68747470733a2f2f706f7365722e707567782e6f72672f637562657175656e63652f6f617574682f762f737461626c652e737667)](https://packagist.org/packages/cubequence/oauth)[![License](https://camo.githubusercontent.com/b1dbe6ee23da6840497ff20410d73d19488a449c1952dd67f49d44971b0655ac/68747470733a2f2f706f7365722e707567782e6f72672f637562657175656e63652f6f617574682f6c6963656e73652e737667)](https://packagist.org/packages/cubequence/oauth)

OAuth
=====

[](#oauth)

PHP FusionAuth client made for CubeQuence

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

[](#installation)

1. `composer require cubequence/oauth`

Example
-------

[](#example)

Look at the `examples` folder

Client Methods
--------------

[](#client-methods)

- constuct

    - flowProvider: An flowProvider instance for the required flow
    - authorizationServer: FusionAuth instance url
    - clientId: Client ID
    - clientSecret: Client Secret
- start

    - No Variables, Returns data based on the flowProvider
- callback

    - queryParams: The $\_GET object
    - storedVar: The stored state or device\_code
- refresh

    - refreshToken: Refresh Token returnd by callback or refresh
- getUser

    - accessToken: accessToken returned by callback or refresh
- logout

    - No Vairables, returns logout url

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](https://github.com/CubeQuence/oauth/security/policy) on how to report security vulnerabilities.

License
-------

[](#license)

The CubeQuence framework is open-sourced software licensed under the [MIT license](LICENSE.md).

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity66

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

Every ~2 days

Total

6

Last Release

1851d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/438241940cac7de0effa5a32587faae51ec85a7ae3c3e6a7b0a2321afd97c768?d=identicon)[lucacastelnuovo](/maintainers/lucacastelnuovo)

---

Top Contributors

[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (5 commits)")

---

Tags

cubequenceoauthoauthcubequence

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/cubequence-oauth/health.svg)

```
[![Health](https://phpackages.com/badges/cubequence-oauth/health.svg)](https://phpackages.com/packages/cubequence-oauth)
```

###  Alternatives

[league/oauth2-server

A lightweight and powerful OAuth 2.0 authorization and resource server library with support for all the core specification grants. This library will allow you to secure your API with OAuth and allow your applications users to approve apps that want to access their data from your API.

6.6k136.0M247](/packages/league-oauth2-server)[league/oauth2-client

OAuth 2.0 Client Library

3.8k118.6M1.2k](/packages/league-oauth2-client)[league/oauth1-client

OAuth 1.0 Client Library

99698.8M106](/packages/league-oauth1-client)[knpuniversity/oauth2-client-bundle

Integration with league/oauth2-client to provide services

83416.7M61](/packages/knpuniversity-oauth2-client-bundle)[socialiteproviders/manager

Easily add new or override built-in providers in Laravel Socialite.

42442.0M544](/packages/socialiteproviders-manager)[league/oauth2-google

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

41721.2M118](/packages/league-oauth2-google)

PHPackages © 2026

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