cyve/password-manager-bundle
login_link security feature. This ensures tight integration with Symfony’s security layer but limits flexibility for non-Symfony PHP projects.login_link feature (introduced in Symfony 6.0), so it requires Symfony 6+ and PHP 8.1+. Downgrading to older Symfony versions would require significant refactoring.UserChecker, AuthenticationUtils). If the project already uses custom security logic (e.g., multi-factor auth), conflicts may arise.Mailer or similar for sending login links. Projects using third-party email services (e.g., SendGrid, AWS SES) may need adapters.UserPasswordHasher) must align with Symfony’s defaults.readme maturity label suggests it’s untested in production./password/update, /password/request-login-link) may conflict with existing routes._target_path query parameter is tied to Symfony’s default redirection, limiting flexibility.cyve:password:reset command allows CLI-based password resets, which could be a security liability if misused (e.g., no audit logging)./request-login-link endpoint?User entities or non-Doctrine ORMs?FOSUserBundle)?User entity with password and email fields.Mailer component. Projects using SwiftMailer or third-party services (e.g., Postmark) would need adapters.FOSUserBundle, LexikJWTAuthenticationBundle).composer require cyve/password-manager-bundle
bundles.php, security.yaml, and routes.yaml as per the README./request-login-link and /password/update flows manually.PasswordManager service to add custom logic (e.g., password policies).UserChecker if using custom user providers./request-login-link.| Component | Compatibility Notes |
|---|---|
| Symfony Security | ✅ Full support for login_link feature. |
| Doctrine ORM | ✅ Assumed but not strictly required. |
| Custom User Entities | ⚠️ May require extending the User interface or overriding services. |
| Email Services | ⚠️ Assumes Symfony Mailer; third-party integrations needed. |
| Frontend Frameworks | ✅ No dependencies; works with any frontend (React, Vue, etc.). |
| API Platform | ❌ Not tested; may conflict with API-based auth flows. |
| Legacy Symfony (<6.0) | ❌ Incompatible due to login_link dependency. |
/request-login-link.composer.json until stability is proven.symfony/security-bundle).login_link may complicate future migrations.User entity is optimized for lookups./request-login-link endpoint should handle concurrent requests safely (e.g., race conditions on user lookups).cyve:password:reset) may need transaction management for bulk operations.| Failure Scenario | Impact | Mitigation |
|---|---|---|
| Bundle update breaks compatibility | Password recovery fails silently. | Pin version in composer.json; test updates in staging. |
| Email delivery failures | Users receive no login links. | Implement retry logic; use a transactional email service. |
| Replay attacks on login links | Unauthorized access via stale links. | Add link expiry (e.g., 15-minute TTL); log link usage. |
| Database corruption (user records) | Password updates fail for affected users |
How can I help you explore Laravel packages today?