netpositive/discriminatormap-bundle
Symfony bundle that simplifies Doctrine discriminator maps, helping you configure and use single-table inheritance with less boilerplate. It provides integration for mapping inherited entities to concrete classes in Symfony applications.
Relation::morphMap(), interfaces, or custom resolution services.Executive summary: This is a small, legacy Symfony2/Doctrine utility, not a Laravel package. It may help a legacy Symfony product support dynamically registered entity subtypes, but its low adoption and end-of-life stack make it a tactical fork-only option, not a strategic dependency. Do not include it in new Laravel roadmaps; use native polymorphic mapping instead.
Engineering summary: The bundle extends Doctrine discriminator maps at runtime. It is only appropriate for an existing Symfony2/Doctrine ORM 2 codebase with a specific polymorphic-entity extensibility need. Budget for internal ownership, compatibility testing, and a migration path. For Laravel, use Eloquent morph maps and polymorphic relationships; for modern Symfony/Doctrine, prefer maintained native patterns or a small in-house resolver.
How can I help you explore Laravel packages today?