binhvd/oauth2-server-httpfoundation-bridge
Bridge package that integrates an OAuth2 server with Symfony HttpFoundation, providing request/response adapters so you can use HttpFoundation objects when working with OAuth2 flows in Laravel/PHP applications.
oauth2-server-php library and Symfony’s HttpFoundation (e.g., for Symfony-based apps or projects using PSR-7 middleware). Avoids reinventing OAuth2 middleware logic from scratch.oauth2-server-php but needing HttpFoundation compatibility (e.g., custom request/response handling).Adopt if:
HttpFoundation (e.g., Symfony Framework, Silex, or PSR-7 middleware like Slim, Lumen).oauth2-server-php and need HTTP layer integration.Look elsewhere if:
laravel/passport or spatie/laravel-oauth-server instead).league/oauth2-server with PSR-15 adapters).php-http/middleware + oauth2-server-php).For Executives:
"This package lets us integrate OAuth2 authentication into our Symfony-based APIs or microservices without building from scratch, reducing dev time by [X] weeks. It’s a lightweight bridge to the oauth2-server-php library—ideal for securing APIs, enabling third-party integrations, or complying with security standards. Since it’s MIT-licensed and aligns with our PSR-7 middleware stack, it minimizes risk while accelerating our roadmap for [feature X]."
For Engineering:
"We’re adding OAuth2 to [Project Y], but we’re not using Laravel’s Passport. This package lets us reuse oauth2-server-php (which we’ve vetted) while plugging into Symfony’s HttpFoundation for request/response handling. It’s a drop-in middleware solution—no need to rewrite auth logic. Tradeoff: Minimal community traction, but the core library is battle-tested. Alternative: We could build custom middleware, but this saves [X] dev hours."
Key Selling Points:
oauth2-server-php).How can I help you explore Laravel packages today?