PHPackages                             hoabinh/hb-sso-core - 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. hoabinh/hb-sso-core

ActiveLibrary

hoabinh/hb-sso-core
===================

HoaBinh Identity SSO client core (OAuth2/OIDC + PKCE)

1.0.0(today)00MITPHPPHP ^8.2

Since Jul 31Pushed todayCompare

[ Source](https://github.com/hoabinhgroup/hb-sso-core)[ Packagist](https://packagist.org/packages/hoabinh/hb-sso-core)[ Docs](https://github.com/hoabinhgroup/hb-sso-core)[ RSS](/packages/hoabinh-hb-sso-core/feed)WikiDiscussions main Synced today

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

hoabinh/hb-sso-core
===================

[](#hoabinhhb-sso-core)

Framework-agnostic PHP client for HoaBinh Identity (OAuth2 / OIDC + PKCE).

Install
-------

[](#install)

```
composer require hoabinh/hb-sso-core
```

Path repo (monorepo):

```
{ "type": "path", "url": "../hb-sso-core" }
```

Usage
-----

[](#usage)

```
use HoaBinh\PlatformSdk\Core\Client\HbSsoClient;
use HoaBinh\PlatformSdk\Core\Config\SsoConfig;

$config = SsoConfig::fromArray([
    'issuer' => 'https://auth.hoabinh-group.com',
    'client_id' => '...',
    'client_secret' => '...',
    'redirect_uri' => 'https://app.test/auth/callback',
]);

$sso = new HbSsoClient($config);
$state = $sso->generateState();
$verifier = $sso->generateCodeVerifier();
$url = $sso->getAuthorizeUrl($state, $verifier);
```

Test
----

[](#test)

```
composer test
```

###  Health Score

39

—

LowBetter than 84% of packages

Maintenance100

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 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

0d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/13624856?v=4)[hoabinhgroup](/maintainers/hoabinhgroup)[@hoabinhgroup](https://github.com/hoabinhgroup)

---

Top Contributors

[![hoabinhgroup](https://avatars.githubusercontent.com/u/13624856?v=4)](https://github.com/hoabinhgroup "hoabinhgroup (1 commits)")

---

Tags

SSOidentityoauth2oidcpkcehoabinhhb-sso

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/hoabinh-hb-sso-core/health.svg)

```
[![Health](https://phpackages.com/badges/hoabinh-hb-sso-core/health.svg)](https://phpackages.com/packages/hoabinh-hb-sso-core)
```

###  Alternatives

[league/oauth2-client

OAuth 2.0 Client Library

3.8k132.3M1.3k](/packages/league-oauth2-client)[facile-it/php-openid-client

OpenID (OIDC) Client

46688.5k13](/packages/facile-it-php-openid-client)[adam-paterson/oauth2-stripe

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

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

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

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

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

22767.4k11](/packages/adam-paterson-oauth2-slack)[maicol07/laravel-oidc-client

OpenID Connect Client for Laravel

281.3k](/packages/maicol07-laravel-oidc-client)

PHPackages © 2026

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