PHPackages                             hoabinh/platform-sdk-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/platform-sdk-core

ActiveLibrary

hoabinh/platform-sdk-core
=========================

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

1.0.0(yesterday)00MITPHPPHP ^8.2

Since Jul 28Pushed yesterdayCompare

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

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

hoabinh/platform-sdk-core
=========================

[](#hoabinhplatform-sdk-core)

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

Install
-------

[](#install)

```
composer require hoabinh/platform-sdk-core
```

Path repo (monorepo):

```
{ "type": "path", "url": "../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

1d 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 (2 commits)")

---

Tags

SSOidentityoauth2oidcpkcehoabinh

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/hoabinh-platform-sdk-core/health.svg)

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

###  Alternatives

[league/oauth2-client

OAuth 2.0 Client Library

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

OpenID (OIDC) Client

44663.0k13](/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.4M4](/packages/calcinai-oauth2-xero)[adam-paterson/oauth2-slack

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

22749.0k10](/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)
