calebporzio/parental
Single-table inheritance for Laravel Eloquent. Store multiple model “types” in one table and let Parental automatically instantiate the right child class. Keeps polymorphic-like behavior simple, with familiar relationships, queries, and mass assignment.
Architecture fit: The package provides a clean STI implementation for Laravel Eloquent, fitting naturally within the ORM's existing patterns. It extends standard model behavior via traits without requiring significant architectural changes, leveraging Laravel's built-in polymorphic relation mechanics. The design aligns with common STI use cases (e.g., polymorphic document
How can I help you explore Laravel packages today?