PHPackages                             ctbuh/laravel-auth-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. ctbuh/laravel-auth-sso

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

ctbuh/laravel-auth-sso
======================

universal login provider

v0.8.6(6y ago)141MITPHPCI failing

Since Oct 19Pushed 6y ago1 watchersCompare

[ Source](https://github.com/ctbuh/laravel-auth-sso)[ Packagist](https://packagist.org/packages/ctbuh/laravel-auth-sso)[ RSS](/packages/ctbuh-laravel-auth-sso/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

laravel-auth-sso
================

[](#laravel-auth-sso)

### Install

[](#install)

> composer require ctbuh/laravel-auth-sso

### Usage

[](#usage)

Add 'sso' guard to config/auth.php

```
'sso' => [
    'driver' => 'sso',
    'provider' => null
]
```

Add this to config/app.php

> ctbuh\\Login\\LoginServiceProvider::class

Make sure SESSION\_DOMAIN= is set to primary domain.

Reload all config

> php artisan config:cache

Use from within your controller or as middleware:

```
Route::middleware('auth:sso')->group(function () {

    Route::get('whoami', function(){
        $user = auth()->guard('sso')->user();
        return $user->getFirstName();
    });

});
```

### Route list

[](#route-list)

- /sso/login - Send person to login page.
- /sso/callback?access\_token={token} -- If successful, person will be sent to this page.
- /sso/logout --- Revoke cookie &amp; token itself.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

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

2397d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1063088?v=4)[Athlon1600](/maintainers/Athlon1600)[@Athlon1600](https://github.com/Athlon1600)

---

Top Contributors

[![Athlon1600](https://avatars.githubusercontent.com/u/1063088?v=4)](https://github.com/Athlon1600 "Athlon1600 (5 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ctbuh-laravel-auth-sso/health.svg)

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

###  Alternatives

[tymon/jwt-auth

JSON Web Token Authentication for Laravel and Lumen

11.5k49.1M350](/packages/tymon-jwt-auth)[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)[spatie/laravel-login-link

Quickly login to your local environment

4381.2M1](/packages/spatie-laravel-login-link)[spatie/laravel-passkeys

Use passkeys in your Laravel app

444494.4k16](/packages/spatie-laravel-passkeys)[andrewdwallo/filament-companies

A comprehensive Laravel authentication and authorization system designed for Filament, focusing on multi-tenant company management.

34450.0k2](/packages/andrewdwallo-filament-companies)

PHPackages © 2026

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