cleaniquecoders/laravel-config-sso
最新稳定版本:1.0.2
Composer 安装命令:
composer require cleaniquecoders/laravel-config-sso
包简介
Database-backed SSO provider configuration for Laravel with a Livewire + Flux admin UI.
README 文档
README
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
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_secretand OAuthtoken_data - 🧩 Core drivers via
laravel/socialite; Keycloak / Azure via optionalsocialiteproviders/* - 🖥️ Optional Livewire 4 + Flux admin UI (create / edit / enable / delete)
- 🧱 App-agnostic — configurable user model, table names, and authorization gate
- ✅ Laravel 12 & 13, PHP 8.2+
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:
<x-sso />
Add a provider (in the admin screen or by seeding SsoProvider) and it appears on your login page.
Login page (<x-sso />) |
Admin UI (Livewire + Flux) |
|---|---|
![]() |
![]() |
Documentation
Full documentation lives in docs/:
- Getting started — install, configure, add buttons
- Configuration reference — every config key
- API & usage — facade, routes,
<x-sso />, admin UI - Architecture — design, data layer, decoupling rules
- Local development & testing — the workbench app
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-06-08

