phl/laravel-sti
phl/laravel-sti brings Single Table Inheritance to Laravel Eloquent. Map multiple model subclasses to one database table using a type column, with automatic class resolution, scoped queries, and familiar Eloquent relationships and behavior for cleaner hierarchical models instead of separate tables.
|
Package
|
Constraint
|
|---|---|
| illuminate/database | ^8.0 |
| illuminate/events | ^8.0 |
|
Package
|
Constraint
|
|---|---|
| fzaninotto/faker | ^1.8 |
| illuminate/pagination | ^8.0 |
| laravel/legacy-factories | ^1.0 |
| phpunit/phpunit | ^9.3 |
| symfony/finder | ^4.1 |
| symfony/var-dumper | ^4.1 |
How can I help you explore Laravel packages today?