code-colliders/basic-user-bundle
SecurityBundle, Doctrine, MakerBundle), making it incompatible with vanilla Laravel unless abstracted via a compatibility layer (e.g., Symfony Bridge or custom middleware).make:entity for user management. Conflict: Laravel uses Eloquent, requiring manual mapping or a hybrid ORM approach.symfony/panther or symfony/ux-live-component for API-level integration (high latency, not ideal for auth).Authenticatable, Registerable) and mirror the bundle’s behavior. Effort: Medium (3–5 dev-weeks).User entity with fields like roles, password, email. Migration Path:
doctrine/dbal to share a DB schema between Laravel and Symfony (tight coupling).SecurityBundle v3 → v5).Argon2id).NOASSERTION license may cause legal friction. Recommendation: Clarify usage rights before adoption.User entity (e.g., adding last_login_at)?| Component | Laravel Support | Workaround Needed |
|---|---|---|
| Symfony Security | ❌ No | Custom middleware/guard |
| Doctrine ORM | ❌ No | Eloquent or DBAL bridge |
| MakerBundle | ❌ No | Manual entity generation |
| Twig Templates | ❌ No | Blade or API-driven UI |
| Console Commands | ⚠️ Partial | Rewrite or ignore |
Auth facade + Fortify for core logic.UserProvider as a gRPC/microservice.users table, HasApiTokens).symfony/security-core → laravel/framework).symfony/http-foundation + Laravel’s session driver.SecurityContext won’t work in Laravel. Fix: Create a custom AuthMiddleware that delegates to Laravel’s Auth::guard().SecurityEvents (e.g., INTERACTIVE_LOGIN) must be mapped to Laravel’s Authenticating, Authenticated events.SecurityComponent’s encoder; Laravel uses Hash::make(). Fix: Standardize on Laravel’s Hash facade.laravel-permission package.CsrfTokenManager → Laravel’s @csrf directive./api/register).users table between Laravel and Symfony (e.g., using Laravel Queues + Symfony’s UserManager).AuthController with a proxy that calls Symfony’s auth endpoints.users table in one system must propagate to the other.
config/auth.php) to avoid divergence.Log::channel('symfony')).tymon/jwt-auth for Laravel to parse Symfony’s tokens.SecurityBundle internals.How can I help you explore Laravel packages today?