proai/eloquent-inheritance
Add single-table inheritance to Laravel Eloquent models. Define a base model and child classes sharing one table, with automatic class casting, scoped queries, and clean, lightweight behavior that is easy to drop into existing apps.
proai/eloquent-inheritance adds single table inheritance support to Laravel Eloquent models. Define a base model and child classes that share one database table, with a type discriminator automatically mapping rows to the correct model class.
How can I help you explore Laravel packages today?