spomky-labs/oauth2-server-exception-manager
Converts League OAuth2 Server exceptions into proper HTTP responses for PHP applications. Provides customizable error rendering so your API returns consistent, standards-compliant OAuth2 error output instead of raw exceptions. Lightweight, PSR-friendly, and easy to integrate into any framework.
OAuth2 Server Exception Manager centralizes handling of OAuth2 server exceptions and turns them into consistent, standards-compliant HTTP error responses. It separates error mapping from controllers and middleware, making OAuth2 failures easier to manage across PHP applications.
How can I help you explore Laravel packages today?