PHPackages                             fennec-tech/laravel-single-sign-on - 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. fennec-tech/laravel-single-sign-on

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

fennec-tech/laravel-single-sign-on
==================================

This package is a very simple Laravel single sign on for multiple applications.

16[3 PRs](https://github.com/fennec-tech/laravel-single-sign-on/pulls)PHP

Since Sep 9Pushed 2y ago2 watchersCompare

[ Source](https://github.com/fennec-tech/laravel-single-sign-on)[ Packagist](https://packagist.org/packages/fennec-tech/laravel-single-sign-on)[ RSS](/packages/fennec-tech-laravel-single-sign-on/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (4)Used By (0)

This package is a very simple Laravel single sign on for multiple applications.
===============================================================================

[](#this-package-is-a-very-simple-laravel-single-sign-on-for-multiple-applications)

[![Latest Version on Packagist](https://camo.githubusercontent.com/8c7cca0c73c34a6da4c4e632cf0f8468b8bc4252b271b71a6f4d941ad3216be5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f66656e6e65632d746563682f6c61726176656c2d73696e676c652d7369676e2d6f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/fennec-tech/laravel-single-sign-on)[![GitHub Tests Action Status](https://camo.githubusercontent.com/76ae71ba2260d790260fbcea1a42279d2869b4e6fa9ac32a080d24c406932fe5/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f66656e6e65632d746563682f6c61726176656c2d73696e676c652d7369676e2d6f6e2f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/fennec-tech/laravel-single-sign-on/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/84a4eceea8d207a24127a86ff59e1ef8e19d65f7fe83a7cf1c8ec92d4e8a9af4/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f66656e6e65632d746563682f6c61726176656c2d73696e676c652d7369676e2d6f6e2f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/fennec-tech/laravel-single-sign-on/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/35aa7f75a030df4fb12d15b998c6fab6ce5db707fe8b38c8c0ead7bfee371c4f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f66656e6e65632d746563682f6c61726176656c2d73696e676c652d7369676e2d6f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/fennec-tech/laravel-single-sign-on)

This package is a very simple Laravel single sign on for multiple applications.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require fennec-tech/laravel-single-sign-on
```

You can publish the config file with:

```
php artisan vendor:publish --tag="laravel-single-sign-on-config"
```

Usage
-----

[](#usage)

1- Add `SESSION_DOMAIN` and `ACCOUNTS_URL` to your .env file.

2- Add `LaravelSingleSignOnMiddleware::class` to the `$middleware` variable in the `kernel.php` file.

3- Add `RedirectIfAuthenticatedMiddleware::class` to the `'guest'` attribute in the `$routeMiddleware` variable in the `kernel.php` file.

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Credits
-------

[](#credits)

- [Aymen Meziani](https://github.com/aymenmeziani)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity25

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/643747e725e0f70893e428f42ff47c738d0119c8f2872fecec89e4b551c0d11f?d=identicon)[aymenmeziani](/maintainers/aymenmeziani)

---

Top Contributors

[![aymenmeziani](https://avatars.githubusercontent.com/u/7093618?v=4)](https://github.com/aymenmeziani "aymenmeziani (3 commits)")

### Embed Badge

![Health badge](/badges/fennec-tech-laravel-single-sign-on/health.svg)

```
[![Health](https://phpackages.com/badges/fennec-tech-laravel-single-sign-on/health.svg)](https://phpackages.com/packages/fennec-tech-laravel-single-sign-on)
```

###  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)
