mmoreram/simple-doctrine-mapping
Add Doctrine entity mapping to Symfony bundles without relying on Doctrine auto_mapping. Define entity class, mapping file path, and manager via a simple CompilerPass, enabling clean, per-bundle configuration and easy overrides/customization.
auto_mapping, avoiding full schema refactoring upfront.auto_mapping complexity.auto_mapping for performance/caching reasons.*"This package lets us ship modular features faster by letting each team or third party manage their own database schemas—without waiting on centralized ORM setup. Think of it like ‘plugins for your database.’ For example:
It’s a low-risk bet because it’s MIT-licensed and simple, but it unlocks scalability for our modular roadmap. The trade-off? We’d need to maintain a wrapper layer for any advanced Doctrine needs later."*
*"This solves two key pain points:
auto_mapping or global Doctrine configs. Each bundle owns its entities—ideal for plugins, microservices, or multi-tenant setups.Pros:
CompilerPass, so it plays well with existing bundles.Cons:
Recommendation: Use this for modular features (e.g., plugins, SaaS extensions) where isolation is critical. Pair it with a custom wrapper to abstract away any Doctrine gaps later. For core entities, evaluate if auto_mapping or API Platform fits better."*
Key Metric to Track: "Time saved onboarding new bundles/entities" (e.g., "Reduced entity setup from 2 hours to 15 minutes").
How can I help you explore Laravel packages today?