Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Eloquent Single Table Inheritance Laravel Package

oldtimeguitarguy/eloquent-single-table-inheritance

Single table inheritance for Laravel Eloquent models: store multiple related model types in one database table and have each subclass automatically instantiate with its own behavior, scopes, and attributes.

View on GitHub
Deep Wiki
Context7
Package
Score
Description
Stars
Likes
Forks
Downloads
Issues
Score
Opportunity
License
Last Release
findyouractivity/single-table-inheritance 0.87 Single-table inheritance for Laravel Eloquent: store multiple model subclasses in one database table and have queries return the correct child class. Configure type columns and mappings to keep a shared schema with distinct PHP models. 0 — 0 — 0 0.0 — MIT 4 years ago
View on GitHub
nanigans/single-table-inheritance 0.86 — 250 250 48 31K 2 4.3 30.1 MIT 5 years ago
View on GitHub
phl/laravel-sti 0.85 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. 17 17 0 0 1 0.2 — MIT 6 years ago
View on GitHub
mannikj/laravel-sti 0.84 — 6 6 1 222 0 9.1 20.9 MIT 1 year ago
View on GitHub
calebporzio/parental 0.82 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. 1,541 1,530 104 26K 5 28.3 20.9 MIT 8 months ago
View on GitHub
fidum/laravel-eloquent-morph-to-one 0.80 Adds a MorphToOne relationship to Laravel's Eloquent ORM, letting a model own a single polymorphic related record. Useful when a parent has exactly one morph child, mirroring MorphMany but returning a single model with lazy and eager loading support. 34 — 4 — 0 14.4 — MIT 3 months ago
View on GitHub
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
adachsoft/changelog-linter
adachsoft/collection
payerurl/telegrambot-crypto-payment-instant-payout
dskripchenko/laravel-hybrid-search
riorizkyrainey/lara-ced
mehedimi/static-vel
zharp/zharp
nonsapiens/bigquery-model-sync
lgu-bayambang-ict-office/lgu-laravel-development-standards
andydefer/laravel-support
se7enxweb/flysystem
lampwick/laravel
jeslage/statamic-emojis
micahdshackelford/rmap-laravel
draftsmaninc/draftsman
square-bit/laravel-volition
himito/laravel-mailman
htinlynn/genius-helper
maco-studios/hephaestus
elmogy/larafast