symfony/http-kernel). The core OAuth2 logic (ekapusta/oauth2-esia) is framework-agnostic, but the bundle introduces Symfony-specific dependencies (e.g., ContainerInterface, ConfigurableInterface).league/oauth2-client or spatie/laravel-oauth may offer more flexibility for non-ESIA use cases.symfony/http-kernel to bootstrap the bundle alongside Laravel’s kernel (requires careful routing/dependency injection).ekapusta/oauth2-esia library and wrap it in a Laravel service (lower risk, but loses bundle features like config validation).Config, DependencyInjection) may introduce version conflicts if not managed via symfony/flex or symfony/require.client_id format, redirect_uri validation) may require customization.vlucas/phpdotenv) are recommended.league/oauth2-client + custom ESIA adapter) that reduce framework lock-in?oauth2-esia wrapper viable?oauth2-esia library (without the Symfony bundle) wrapped in a Laravel service. This avoids Symfony dependencies while retaining core functionality.spatie/laravel-symfony) to co-load the bundle. Requires:
composer require symfony/flex to manage Symfony dependencies.oauth2-esia and its dependencies to specific versions to avoid breaking changes.composer why-not symfony/... to identify conflicts early.oauth2-esia standalone (without the bundle) and implement a minimal Laravel service for:
/userinfo endpoint.AppKernel to include the bundle (risky; prefer Phase 1).oauth2-esia’s composer.json).client_id, certificates) early.Auth::loginUsingId() for ESIA users)..env conventions. Standardize on one approach (e.g., .env for all secrets).composer why-not to track updates.debug:container). Document common pitfalls (e.g., missing OpenSSL, wrong certificate paths).How can I help you explore Laravel packages today?