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.
A simple eloquent trait that allows relationships to be accessed through child models.
How can I help you explore Laravel packages today?