coddin-web/idp-openid-connect-bundle
Symfony/Laravel Compatibility: The package is a Symfony bundle, not a Laravel package. While Laravel and Symfony share some PHP/Composer dependencies (e.g., HTTP foundations, authentication libraries), this bundle is not natively compatible with Laravel’s ecosystem. A TPM must evaluate whether:
Bundle architecture (dependency injection, event system) can be emulated in Laravel (e.g., using illuminate/container or third-party DI containers like PHP-DI).SecurityBundle, FrameworkBundle) have Laravel equivalents (e.g., laravel/framework, spatie/laravel-ignition for debugging).OIDC Implementation Depth:
league/oauth2-server).Core Dependencies:
symfony/security, symfony/http-foundation, and league/oauth2-server (or similar).league/oauth2-server (for RS/RP roles).php-openid/light or bshaffer/oauth2 (for custom OIDC logic).Configuration Overhead:
config/packages/ or bundles.php setup.config/services.php or package-specific configs (e.g., config/oidc.php) would need to mirror this.ParameterBag).| Risk Area | Severity | Mitigation Strategy |
|---|---|---|
| Non-Laravel Architecture | Critical | Evaluate wrapping the bundle’s logic in a Laravel-compatible library or microservice. |
| IdP vs. RP Misalignment | High | Confirm whether the project needs IdP (token issuer) or RP (token consumer) functionality. |
| Dependency Conflicts | Medium | Audit composer.json for version conflicts (e.g., Symfony vs. Laravel’s http-kernel). |
| Lack of Documentation | Medium | Plan for reverse-engineering the bundle’s codebase or engaging with maintainers. |
| Testing Gaps | High | No tests or coverage; assume undocumented edge cases (e.g., token revocation, JWKS). |
spatie/laravel-oauth-server) that could replace this?tymon/jwt-auth) that could integrate?Laravel Compatibility:
illuminate/support and league/oauth2-server).spatie/laravel-oauth-server) if RP/Client functionality suffices.Dependency Mapping:
| Symfony Bundle Dependency | Laravel Equivalent | Notes |
|---|---|---|
symfony/security |
laravel/framework (Auth) or spatie/laravel-permission |
Auth logic may need adaptation. |
league/oauth2-server |
league/oauth2-server (same package) |
Works for RP/RS roles. |
symfony/http-foundation |
illuminate/http |
Request/response handling. |
doctrine/orm (if used) |
illuminate/database or doctrine/dbal |
ORM may need custom mapping. |
vendor/package-oidc-idp).idp.example.com).league/oauth2-client in Laravel).spatie/laravel-oauth-server for RP or a custom JWT library).config/oidc.php format or use environment variables.KernelEvents). Laravel uses events (Event::dispatch).routing.yml; Laravel uses routes/web.php.symfony/http-kernel vs. illuminate/http).Container issues, EventDispatcher problems) will require cross-framework expertise.How can I help you explore Laravel packages today?