PHPackages                             xibosignage/oauth2-xibo-cms - 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. xibosignage/oauth2-xibo-cms

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

xibosignage/oauth2-xibo-cms
===========================

A Xibo CMS provider for league/oauth2-client

1.1(8y ago)913.8k↓50%14[3 PRs](https://github.com/xibosignage/oauth2-xibo-cms/pulls)MITPHPPHP &gt;=5.4.0

Since Oct 16Pushed 2y ago5 watchersCompare

[ Source](https://github.com/xibosignage/oauth2-xibo-cms)[ Packagist](https://packagist.org/packages/xibosignage/oauth2-xibo-cms)[ Docs](http://xibo.org.uk)[ RSS](/packages/xibosignage-oauth2-xibo-cms/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelog (4)Dependencies (1)Versions (10)Used By (0)

Xibo CMS Provider for league/oauth2-client
==========================================

[](#xibo-cms-provider-for-leagueoauth2-client)

This is a package to integrate Xibo CMS authentication with the OAuth2 client library by [The League of Extraordinary Packages](https://github.com/thephpleague/oauth2-client).

To install, use composer:

```
composer require xibosignage/oauth2-xibo-cms
```

Usage is the same as the league's OAuth client, using `\Xibo\OAuth2\Client\Provider\XiboCms` as the provider. For example:

```
$provider = new \Xibo\OAuth2\Client\Provider\Xibo([
    'sandbox' => "TRUE_OR_FALSE",
    'clientId' => "YOUR_CLIENT_ID",
    'clientSecret' => "YOUR_CLIENT_SECRET",
    'responseType' => "JSON_OR_STRING"
    'redirectUri' => "http://your-redirect-uri"
]);

$token = $provider->getAccessToken('refresh_token', [
    'grant_type' => 'refresh_token',
    'refresh_token' => "REFRESH_TOKEN"
]);

// OR (to get the token)

$token = $this->provider->getAccessToken("authorizaton_code", [
    'code' => $_GET['code']
]);

// pass the token to the headers
$provider->headers = ['Authorization' => 'Bearer ' . $token];
```

License
-------

[](#license)

This provider is under the MIT license. See the complete license in the provider:

[LICENSE](https://github.com/xibosignage/oauth2-xibo-cms/blob/master/LICENSE)

\## Reporting an issue or a feature request

Issues and feature requests are tracked in the [GitHub issue tracker](https://github.com/xibosignage/xibo).

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity35

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 76% 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 ~405 days

Total

4

Last Release

2652d ago

Major Versions

1.1 → v2.0-beta.42019-02-12

PHP version history (2 changes)v1PHP &gt;=5.4.0

v2.0-beta.4PHP &gt;=5.6.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/a4e0ee1cfae26f9d14cd05a20de71c301084c70b856bfb380d66c154b5ec07a0?d=identicon)[dasgarner](/maintainers/dasgarner)

---

Top Contributors

[![PeterMis](https://avatars.githubusercontent.com/u/12148978?v=4)](https://github.com/PeterMis "PeterMis (79 commits)")[![dasgarner](https://avatars.githubusercontent.com/u/10400067?v=4)](https://github.com/dasgarner "dasgarner (25 commits)")

---

Tags

clientAuthenticationSSOidentityoauthoauth2authorizationidpsingle sign onxiboxibo cms

### Embed Badge

![Health badge](/badges/xibosignage-oauth2-xibo-cms/health.svg)

```
[![Health](https://phpackages.com/badges/xibosignage-oauth2-xibo-cms/health.svg)](https://phpackages.com/packages/xibosignage-oauth2-xibo-cms)
```

###  Alternatives

[adam-paterson/oauth2-stripe

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

172.4M4](/packages/adam-paterson-oauth2-stripe)

PHPackages © 2026

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