PHPackages                             mzm/sso - 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/sso

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

mzm/sso
=======

Laravel package for SSO integration between apps clients

1.1.0(1y ago)058MITBladePHP &gt;=8.0

Since Jan 11Pushed 1y ago1 watchersCompare

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

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

Project Title
=============

[](#project-title)

Single Sign On client package for Laravel project

### Requirements

[](#requirements)

- Laravel 8+
- PHP 9.x
- Composer version 2

### How it works?

[](#how-it-works)

User visits Agencies System and unique token is generated. When new token is generated we need to attach User session to his session in Agencies System so he will be redirected to Server and back to Agencies Syste at this moment new session in Server will be created and associated with User session in Agencies System's page. When User visits other System cross Agencies same steps will be done except that when User will be redirected to Server he already use his old session and same session id which associated with Token#1.

Installation
============

[](#installation)

### Server

[](#server)

Install this package using composer.

```
$ composer require mzm/sso
```

Copy config file to Laravel project `config/` folder.

```
$ php artisan vendor:publish --tag=sso-config
```

Copy views file to Laravel project `resources/views/` folder.

```
$ php artisan vendor:publish --tag=sso-views
```

options in your `.env` file:

```
SSO_ENABLE=true
SSO_BASE_HOME=home
SSO_ORIGIN=
SSO_TOKEN=
SSO_BASE_URL=
SSO_GUARD=web
SSO_CACHE_KEY=
SSO_USER_MODEL=\App\Models\User
SSO_AUTH_FIELDS=email
```

Button

```

```

### SSO Logged

[](#sso-logged)

Permission Folder

```
mkdir -p storage/logs/sso
```

permission &amp; owner

```
chmod -R 775 storage/logs/sso
chown -R www-data:www-data storage/logs/sso
```

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance44

Moderate activity, may be stable

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

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

Every ~8 days

Total

14

Last Release

437d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3121876?v=4)[Mohamad Zaki Mustafa](/maintainers/mzm-dev)[@mzm-dev](https://github.com/mzm-dev)

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[directorytree/ldaprecord-laravel

LDAP Authentication &amp; Management for Laravel.

5752.3M18](/packages/directorytree-ldaprecord-laravel)[illuminate/auth

The Illuminate Auth package.

10528.2M1.2k](/packages/illuminate-auth)[althinect/filament-spatie-roles-permissions

3481.1M10](/packages/althinect-filament-spatie-roles-permissions)[hasinhayder/tyro

Tyro - The ultimate Authentication, Authorization, and Role &amp; Privilege Management solution for Laravel 12 &amp; 13

6804.7k6](/packages/hasinhayder-tyro)[masterix21/laravel-licensing

Laravel licensing package with polymorphic assignment to any model, activation keys, expirations/renewals, and seat control via LicenseUsage. Supports offline verification with public-key–signed tokens, a CLI to generate/rotate/revoke keys, and an extensible architecture via config and contracts.

1563.2k4](/packages/masterix21-laravel-licensing)

PHPackages © 2026

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