Skip to content

v11.0.0 — Laravel 11 support

Latest

Choose a tag to compare

@mi-lopez mi-lopez released this 27 Apr 18:50
· 2 commits to master since this release

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.php middleware/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 /login triggering an attach is rewritten to GET /api/sso/attach on 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.0

See 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+