2026-03-31 14:32 UTC
#DelegatedTypes in #Laravel โ Smarter Alternative to STI #PHP #Eloquent #opensource #webdev
๐๏ธ Model class hierarchies via polymorphic relationships & delegation โ composition over inheritance, done right
๐งต๐
๐ Each subtype keeps its own table while sharing a common root Entry model โ no more nullable column bloat like with STI
๐ฏ Comments, likes & reactions attach to the Entry โ one route, one controller, no endpoint explosion
Replies (0)
No replies.