PHPackages                             cleaniquecoders/laravel-config-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. cleaniquecoders/laravel-config-sso

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

cleaniquecoders/laravel-config-sso
==================================

Database-backed SSO provider configuration for Laravel with a Livewire + Flux admin UI.

1.0.2(1mo ago)0170[1 PRs](https://github.com/cleaniquecoders/laravel-config-sso/pulls)MITPHPPHP ^8.2CI passing

Since Jun 8Pushed 1mo agoCompare

[ Source](https://github.com/cleaniquecoders/laravel-config-sso)[ Packagist](https://packagist.org/packages/cleaniquecoders/laravel-config-sso)[ Docs](https://github.com/cleaniquecoders/laravel-config-sso)[ GitHub Sponsors]()[ RSS](/packages/cleaniquecoders-laravel-config-sso/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (3)Dependencies (42)Versions (5)Used By (0)

Laravel Config SSO
==================

[](#laravel-config-sso)

[![Latest Version on Packagist](https://camo.githubusercontent.com/68e5e4225757c24385ee67966f04cc2a15bfca1376a0f68e8976d5afc8a5dcb9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f636c65616e69717565636f646572732f6c61726176656c2d636f6e6669672d73736f2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/cleaniquecoders/laravel-config-sso) [![GitHub Tests Action Status](https://github.com/cleaniquecoders/laravel-config-sso/actions/workflows/run-tests.yml/badge.svg)](https://github.com/cleaniquecoders/laravel-config-sso/actions?query=workflow%3Arun-tests+branch%3Amain) [![GitHub Code Style Action Status](https://github.com/cleaniquecoders/laravel-config-sso/actions/workflows/fix-php-code-style-issues.yml/badge.svg)](https://github.com/cleaniquecoders/laravel-config-sso/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain) [![Total Downloads](https://camo.githubusercontent.com/44fd5d0ad453957aba4fd6b9e618f532cbb3910e81be66c1fcbc3473736239fa/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f636c65616e69717565636f646572732f6c61726176656c2d636f6e6669672d73736f2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/cleaniquecoders/laravel-config-sso)

Manage **single sign-on (SSO) identity providers from your database** — no `.env` juggling, no redeploys. Providers (Google, GitHub, GitLab, Bitbucket, Keycloak, Azure AD) are stored with an **encrypted client secret**, exposed through a [Laravel Socialite](https://laravel.com/docs/socialite)redirect/callback flow that finds-or-creates and links the local user — plus an optional **Livewire + Flux** admin screen to manage them.

- 🔐 DB-backed providers, encrypted `client_secret` and OAuth `token_data`
- 🧩 Core drivers via `laravel/socialite`; Keycloak / Azure via optional `socialiteproviders/*`
- 🖥️ Optional Livewire 4 + Flux admin UI (create / edit / enable / delete)
- 🧱 App-agnostic — configurable user model, table names, and authorization gate
- ✅ Laravel **12 &amp; 13**, PHP **8.2+**

Quickstart
----------

[](#quickstart)

```
composer require cleaniquecoders/laravel-config-sso
php artisan config-sso:install   # publishes config + runs migrations
```

Point the package at your user model and admin gate in `config/config-sso.php`, then add the login buttons to your login view:

```

```

Add a provider (in the admin screen or by seeding `SsoProvider`) and it appears on your login page.

Login page (``)Admin UI (Livewire + Flux)[![Login buttons](assets/login-buttons.png)](assets/login-buttons.png)[![Admin UI](assets/admin-ui.png)](assets/admin-ui.png)Documentation
-------------

[](#documentation)

Full documentation lives in [`docs/`](docs/README.md):

- [Getting started](docs/02-development/01-getting-started.md) — install, configure, add buttons
- [Configuration reference](docs/03-configuration/01-config-reference.md) — every config key
- [API &amp; usage](docs/04-api/README.md) — facade, routes, ``, admin UI
- [Architecture](docs/01-architecture/README.md) — design, data layer, decoupling rules
- [Local development &amp; testing](docs/02-development/02-workflows.md) — the workbench app

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

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

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Nasrul Hazim Bin Mohamad](https://github.com/nasrulhazim)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

43

—

FairBetter than 89% of packages

Maintenance92

Actively maintained with recent releases

Popularity15

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity49

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 ~0 days

Total

3

Last Release

46d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b57069d0f4b634f65eccc6e5d5848990e25968d45ec2cf46d626c6a4658f944b?d=identicon)[nasrulhazim.m](/maintainers/nasrulhazim.m)

---

Top Contributors

[![nasrulhazim](https://avatars.githubusercontent.com/u/10341422?v=4)](https://github.com/nasrulhazim "nasrulhazim (15 commits)")

---

Tags

fluxlaravellivewireoauthoidcsocialitessolaravelCleanique Coderslaravel-config-sso

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/cleaniquecoders-laravel-config-sso/health.svg)

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

###  Alternatives

[spatie/laravel-permission

Permission handling for Laravel 12 and up

12.9k102.4M1.5k](/packages/spatie-laravel-permission)[psalm/plugin-laravel

Psalm plugin for Laravel

3345.3M347](/packages/psalm-plugin-laravel)[spatie/laravel-health

Monitor the health of a Laravel application

87912.0M177](/packages/spatie-laravel-health)[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M246](/packages/laravel-ai)[simplestats-io/laravel-client

Server-side analytics for Laravel that follows the full funnel from visit to registration to payment, attributed to the channel that drove it. Revenue, MRR, churn and ad-spend profit (ROAS/CAC) per channel. GDPR compliant, ad-blocker proof.

5022.6k](/packages/simplestats-io-laravel-client)[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.

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

PHPackages © 2026

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