First stable release of the Laravel 11 line.
This is a fork of zefy/laravel-sso modernized for Laravel 11 + PHP 8.2/8.3/8.4, with a refreshed test suite, CI matrix, and updated docs.
Highlights
- Compatible with Laravel 11 — adopts the new
bootstrap/app.phpmiddleware/config style. - Single-line middleware setup for brokers via
prependToPriorityList. No need to duplicate Laravel's middleware priority array. - Fixed the redirect status (303 instead of 307) so a
POST /logintriggering an attach is rewritten toGET /api/sso/attachon the SSO server. - Pest test suite (37 tests) backed by PostgreSQL via Orchestra Testbench. CI runs PHP 8.2/8.3/8.4.
- Cleaner codebase: modern type hints, dropped unused server methods, exit codes on artisan commands.
- Rewritten README with end-to-end setup for both server and broker apps.
Installation
composer require mi-lopez/laravel-sso:^11.0See the README for full server and broker setup instructions.
Compatibility
| Package | Laravel | PHP |
|---|---|---|
| 8.x | 8.x | 7.4+ |
| 11.x | 11.x | 8.2+ |