tightenco/parental
Single Table Inheritance for Laravel Eloquent. Define a parent model with child classes stored in one table, automatically casting records to the right type. Great for polymorphic-like data without multiple tables, with simple setup and familiar Eloquent APIs.
User → Admin, Customer, Moderator) without complex joins or polymorphic associations. Ideal for role-based systems, multi-tiered workflows, or domain-specific hierarchies (e.g., Vehicle → Car, Truck).whenBooted callbacks in model event registration, which may simplify event-driven architectures for inherited models.laravel-morph-to. The Laravel 13.x update future-proofs the package for teams adopting newer Laravel versions.whenBooted event registration for cleaner model event handling across inherited classes (e.g., centralized logging or notifications for all user types).Admin inherits from User), now with seamless Laravel 13.x integration.Post → BlogPost, NewsArticle) with improved event consistency.created, updated) across inherited classes and want to avoid double-dispatching issues in Laravel 13.x.laravel-morph-to or custom solutions).For Executives: "This updated package now supports Laravel 13.x, letting us model complex relationships (like user roles or content types) with less code, better performance, and future-proof compatibility. By using Single Table Inheritance, we avoid slow joins and reduce technical debt—saving dev time and improving scalability for features like permissions or multi-tiered workflows. The Laravel 13.x integration ensures we’re aligned with the latest ecosystem, while the MIT license and active maintenance keep it risk-free. Let’s prototype it for [X use case] to validate the event-driven improvements."
For Engineering:
*"tightenco/parental v1.6.0 now fully supports Laravel 13.x, including fixes for model event dispatching in whenBooted callbacks. Here’s how it helps us:
User → Admin) with single-table queries, avoiding joins.whenBooted system.How can I help you explore Laravel packages today?