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)056MITBladePHP &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 1mo ago

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

31

—

LowBetter than 68% of packages

Maintenance48

Moderate activity, may be stable

Popularity10

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

381d 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 (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

[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)[olssonm/l5-very-basic-auth

Laravel stateless HTTP basic auth without the need for a database

1662.5M1](/packages/olssonm-l5-very-basic-auth)[stechstudio/laravel-jwt

Helper package that makes it easy to generate, consume, and protect routes with JWT tokens in Laravel

126117.6k](/packages/stechstudio-laravel-jwt)[scaler-tech/laravel-saml2

SAML2 Service Provider integration for Laravel applications, based on OneLogin toolkit

2737.5k](/packages/scaler-tech-laravel-saml2)[truckersmp/steam-socialite

Laravel Socialite provider for Steam OpenID.

1516.7k](/packages/truckersmp-steam-socialite)

PHPackages © 2026

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