PHPackages                             tobymaxham/phoenixii-oauth2 - 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. tobymaxham/phoenixii-oauth2

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

tobymaxham/phoenixii-oauth2
===========================

A Package to use the OAuth2 API from PhoenixII.

v3.0(1y ago)039[2 PRs](https://github.com/TobyMaxham/phoenixii-oauth2/pulls)MITPHPPHP &gt;8.2

Since Jul 5Pushed 1y agoCompare

[ Source](https://github.com/TobyMaxham/phoenixii-oauth2)[ Packagist](https://packagist.org/packages/tobymaxham/phoenixii-oauth2)[ Docs](https://github.com/tobymaxham/phoenixii-oauth2)[ RSS](/packages/tobymaxham-phoenixii-oauth2/feed)WikiDiscussions main Synced today

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

PhoenixII OAuth2
================

[](#phoenixii-oauth2)

A PHP package to use the PhoenixII OAuth2 API. Visit [PhoenixII-Wiki](https://tricept.atlassian.net/wiki/spaces/PIIWIKI/pages/976912387/OAuth+2+-+Schnittstelle) for more Details.

[![Latest Version on Packagist](https://camo.githubusercontent.com/ee5b4229c14da0479197b634136fd24d58b2e2aa7a75ea802defa3b8980eaa7b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f746f62796d617868616d2f70686f656e697869692d6f61757468322e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tobymaxham/phoenixii-oauth2)[![GitHub commits](https://camo.githubusercontent.com/d40321e3ad50d52078b72647e5bb366586122d0a4f8bcef436c7fb70ee218d1f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f636f6d6d6974732d73696e63652f746f62796d617868616d2f70686f656e697869692d6f61757468322f76312e302e737667)](https://GitHub.com/tobymaxham/phoenixii-oauth2/commit/)[![Total Downloads](https://camo.githubusercontent.com/06097e8aadfb5bbb07c06c37b62c2cbe24502081cceccc2f4f7de065508bc165/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f746f62796d617868616d2f70686f656e697869692d6f61757468322e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tobymaxham/phoenixii-oauth2)[![GitHub contributors](https://camo.githubusercontent.com/01375e4bb0a942df913937f28c95c2d9b814c62f39eb7ad81c572b03e7a5a539/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f636f6e7472696275746f72732f746f62796d617868616d2f70686f656e697869692d6f61757468322e737667)](https://GitHub.com/TobyMaxham/phoenixii-oauth2/graphs/contributors/)[![GitHub issues](https://camo.githubusercontent.com/75b24786fb143d03e50daac8addc0d9c6704a8d8d7cfa9f7338b6292f5fa9e82/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f746f62796d617868616d2f70686f656e697869692d6f61757468322e737667)](https://GitHub.com/TobyMaxham/phoenixii-oauth2/issues/)

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

[](#installation)

```
composer require tobymaxham/phoenixii-oauth2

```

Usage
-----

[](#usage)

See `samples/*` for more Details.

```
$client = new AuthProvider($baseUrl, $client_id, $client_secret, $bearer_token);
$token = $client->getAccessToken('authorization_code', [
    'code' => urldecode($code]),
]);
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

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

[](#security-vulnerabilities)

If you've found a bug regarding security please mail  instead of using the issue tracker.

Support me
----------

[](#support-me)

[![ko-fi](https://camo.githubusercontent.com/201ef269611db7eb6b5d08e9f756ab8980df3014b64492770bdf13a6ed924641/68747470733a2f2f6b6f2d66692e636f6d2f696d672f676974687562627574746f6e5f736d2e737667)](https://ko-fi.com/Z8Z4NZKU)

Credits
-------

[](#credits)

- [TobyMaxham](https://github.com/TobyMaxham)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity76

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 ~465 days

Total

5

Last Release

642d ago

Major Versions

v1.1 → v2.02021-08-27

v2.0.1 → v3.02024-08-08

PHP version history (3 changes)v1.0PHP &gt;7.0

v2.0PHP &gt;7.4

v3.0PHP &gt;8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/900ab0a66bf701f3fb99a4db54276b4984cf3cf9b55ccad6df65c034f58be85f?d=identicon)[TobyMaxham](/maintainers/TobyMaxham)

---

Top Contributors

[![TobyMaxham](https://avatars.githubusercontent.com/u/5646469?v=4)](https://github.com/TobyMaxham "TobyMaxham (6 commits)")

---

Tags

oauthtobymaxhamphoenix-oauth

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/tobymaxham-phoenixii-oauth2/health.svg)

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

###  Alternatives

[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)[overtrue/socialite

A collection of OAuth 2 packages.

1.4k5.5M87](/packages/overtrue-socialite)[ellaisys/aws-cognito

AWS Cognito package that allows Auth and other related features using the AWS SDK for PHP

120220.7k1](/packages/ellaisys-aws-cognito)[basvandorst/stravaphp

Strava V3 API PHP client with OAuth authentication

189192.4k2](/packages/basvandorst-stravaphp)[heptacom/shopware-platform-admin-open-auth

Shopware plugin to allow OAuth providers to provide admin logins

35133.7k](/packages/heptacom-shopware-platform-admin-open-auth)

PHPackages © 2026

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