bengor-user/doctrine-odm-mongodb-bridge-bundle
UserBundle (likely a legacy or custom authentication system) with Doctrine ODM for MongoDB, enabling MongoDB-backed user persistence in a Symfony application. This is valuable for teams migrating from relational (e.g., MySQL) to NoSQL (MongoDB) for user data, especially if leveraging Doctrine’s ODM for other entities.UserBundle (not Symfony’s built-in SecurityBundle) may require customization if using modern Symfony security components (e.g., security.yaml).users, roles tables). Requires alignment with broader MongoDB schema strategy.UserBundle’s API stability.@Document annotations).security.yaml or security.xml).autoconfigure or flex recipes).UserBundle patterns).SecurityBundle.UserBundle’s expectations (e.g., field names, embedded vs. referenced data).UserBundle assumes relational constraints.SecurityBundle (e.g., UserChecker interfaces) that require updates?firewalls, voters, access control)?legacy_controller for UserBundle routes).UserBundle with Symfony’s SecurityBundle + custom ODM user provider.mongodb/mongodb vs. doctrine/mongodb-odm).@Document for User entity) and align with UserBundle’s expected fields.SecurityBundle, configure a custom UserProvider to load users from MongoDB via ODM.# config/packages/security.yaml
providers:
mongodb_user_provider:
id: App\Security\MongoDBUserProvider
UserBundle’s password encoder (e.g., bcrypt) is compatible with ODM’s hydration.UserBundle dependencies and customizations.email/username).doctrine-odm-mongodb-bridge-bundle installed.DocumentManager).UserBundle providers to ODM).UserProvider.SecurityBundle (e.g., UserInterface changes in Symfony 5+).UserBundle uses Symfony’s UserChecker or UserProvider, ensure these are mocked or replaced.UserManager may not work with ODM’s DocumentManager.@Document, indexes).doctrine_odm in config/packages/doctrine_odm.yaml.UserBundle’s user entity to a MongoDB document.UserProvider).composer.json.UserBundle is open-source).How can I help you explore Laravel packages today?