PHPackages                             mzm/phpsso - 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. mzm/phpsso

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

mzm/phpsso
==========

PHP Native package for SSO integration between apps clients

1.0.0(1y ago)10MITPHPPHP ^7.4 || ^8.0

Since Apr 29Pushed 1y ago1 watchersCompare

[ Source](https://github.com/mzm-dev/native-sso)[ Packagist](https://packagist.org/packages/mzm/phpsso)[ RSS](/packages/mzm-phpsso/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

mzm/phpsso
==========

[](#mzmphpsso)

**PHP SSO Client Integration for Pure PHP (Sanctum-based Authentication)**

`mzm/phpsso` ialah pakej PHP ringkas yang membolehkan integrasi Single Sign-On (SSO) antara sistem client (contoh: `sistem-a.example.com`) dengan pelayan SSO berasaskan Laravel Sanctum (contoh: `sso.example.com`). Direka khas untuk sistem **tanpa framework** (Pure PHP).

---

✨ Ciri-ciri
-----------

[](#-ciri-ciri)

- Integrasi mudah dengan pelayan Laravel Sanctum SSO.
- Penyemakan token `Bearer` melalui `cURL`.
- Carian pengguna tempatan secara automatik (melalui `email`, `username`, dll).
- Menyimpan `$_SESSION` selepas pengesahan berjaya.
- Komponen UI (butang login SSO).
- Middleware untuk lindungi laluan.
- Logging harian secara automatik (rotating log).
- Sistem `Enum` dan `QueryTemplate` yang boleh dikonfigurasi.

---

📦 Pemasangan
------------

[](#-pemasangan)

```
composer require mzm/phpsso
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance48

Moderate activity, may be stable

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity42

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

384d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/088ae1c844128f99b8491afbdb8f0c74b9ab519ebefacdd30b1feb2d6c467bb5?d=identicon)[mzm-dev](/maintainers/mzm-dev)

---

Top Contributors

[![mzm-dev](https://avatars.githubusercontent.com/u/3121876?v=4)](https://github.com/mzm-dev "mzm-dev (3 commits)")

### Embed Badge

![Health badge](/badges/mzm-phpsso/health.svg)

```
[![Health](https://phpackages.com/badges/mzm-phpsso/health.svg)](https://phpackages.com/packages/mzm-phpsso)
```

###  Alternatives

[namshi/jose

JSON Object Signing and Encryption library for PHP.

1.8k99.6M101](/packages/namshi-jose)[league/oauth1-client

OAuth 1.0 Client Library

99698.8M106](/packages/league-oauth1-client)[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[league/oauth2-google

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

41721.2M118](/packages/league-oauth2-google)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)

PHPackages © 2026

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