PHPackages                             liginc/unias-client-php - 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. liginc/unias-client-php

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

liginc/unias-client-php
=======================

LIG Unified Account Service OAuth 2.0 Client Provider for The PHP League OAuth2-Client

1.1.1(8y ago)040MITPHPPHP ^7.0.0

Since Aug 21Pushed 8y ago1 watchersCompare

[ Source](https://github.com/liginc/unias-client-php)[ Packagist](https://packagist.org/packages/liginc/unias-client-php)[ RSS](/packages/liginc-unias-client-php/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (1)Versions (4)Used By (0)

Unias PHP Client
================

[](#unias-php-client)

LIG Unified Account Service OAuth 2.0 Client Provider for The PHP League OAuth2-Client.

Requirements
------------

[](#requirements)

- `PHP >= 7.0`

Usage
-----

[](#usage)

### Installation

[](#installation)

```
composer require liginc/unias-client-php
```

### Setting up a new client

[](#setting-up-a-new-client)

```
new UniasProvider([
    'clientId'     => 'XXXXXXXXXXXXXXXXXXXX',
    'clientSecret' => 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
    'redirectUri'  => 'https://yourservice.example.com/login/callback',
    'authorizeUri' => 'https://unias.example.com/',
    'tokenUri'     => 'https://api.unias.example.com/token',
    'apiBaseUri'   => 'https://api.example.com/',
]);
```

#### Parameters

[](#parameters)

- **`clientId`:** A registered [*Client ID*](https://tools.ietf.org/html/rfc6749#section-2.2) provided by the [*Authorization Server*](https://tools.ietf.org/html/rfc6749#section-1.1) (Unias service provider).
- **`clientSecret`:** A [*Client Password*](https://tools.ietf.org/html/rfc6749#section-2.3.1) registered with the *Client ID* to the *Authorization Server*.
- **`redirectUri`:** An URI to the [*Redirection Endpoint*](https://tools.ietf.org/html/rfc6749#section-3.1.2) of the *Client* (Your Service).
- **`authorizeUri`:** An URI to the [*Authorization Endpoint*](https://tools.ietf.org/html/rfc6749#section-3.1) of the *Authorization Server*.
- **`tokenUri`:** An URI to the [*Token Endpoint*](https://tools.ietf.org/html/rfc6749#section-3.2) of the *Authorization Server*.
- **`apiBaseUri`:** A base URI to the API endpoints of the *Resource Server*.

Library Documentation
---------------------

[](#library-documentation)

This is a plug-in provider of the [PHP League's OAuth 2.0 Client](https://github.com/thephpleague/oauth2-client), so we suggest you to refer to [the library documentation](https://github.com/thephpleague/oauth2-client/blob/master/README.md#usage) for detailed usage.

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

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

Total

3

Last Release

3176d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/11808367?v=4)[Kazuhisa Togo](/maintainers/ktogo)[@ktogo](https://github.com/ktogo)

---

Top Contributors

[![ktogo](https://avatars.githubusercontent.com/u/11808367?v=4)](https://github.com/ktogo "ktogo (10 commits)")

---

Tags

composer-packageoauth2-clientphpAuthenticationSSOidentityoauth2authorizationidpsingle sign on

### Embed Badge

![Health badge](/badges/liginc-unias-client-php/health.svg)

```
[![Health](https://phpackages.com/badges/liginc-unias-client-php/health.svg)](https://phpackages.com/packages/liginc-unias-client-php)
```

###  Alternatives

[adam-paterson/oauth2-stripe

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

172.5M4](/packages/adam-paterson-oauth2-stripe)[calcinai/oauth2-xero

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

103.3M4](/packages/calcinai-oauth2-xero)[adam-paterson/oauth2-slack

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

22728.9k9](/packages/adam-paterson-oauth2-slack)

PHPackages © 2026

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