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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| santigarcor/laravel-ownable | 0.86 | A Laravel package that adds polymorphic ownership to Eloquent models, letting any model be assigned to users or other entities. It provides traits, relationships, and helpers to query owned records and manage ownership across your application. | 19 | — | 4 | — | 0 | 0.6 | — | MIT | 2 years ago | |
| mannikj/laravel-sti | 0.86 | — | 6 | 6 | 1 | 222 | 0 | 9.1 | 20.9 | MIT | 1 year ago | |
| phl/laravel-sti | 0.86 | 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 | |
| masterfri/laravel-smart-relations | 0.85 | Laravel Smart Relations streamlines Eloquent relationship management in Laravel with smarter helpers and conventions for defining, querying, and working with model relations, reducing boilerplate and keeping model code cleaner and easier to maintain. | 6 | — | 1 | — | 0 | 0.4 | — | — | 7 years ago | |
| pannella/laravel-cti | 0.85 | — | 3 | 3 | 0 | 406 | 1 | 19.4 | 31.2 | MIT | 3 months ago | |
| ankurk91/laravel-eloquent-relationships | 0.85 | — | 58 | 59 | 9 | 8K | 0 | 0.3 | 20.7 | MIT | — | |
| cybercog/laravel-ownership | 0.85 | — | 90 | 90 | 15 | 583 | 1 | 12.8 | 12.7 | MIT | 8 months ago | |
| soyhuce/laravel-eloquent-extended | 0.84 | Soyhuce's Laravel Eloquent Extended adds practical helpers on top of Laravel's ORM, streamlining model definitions, attribute handling and query building so you can write cleaner, more expressive Eloquent code with less boilerplate. | 1 | 1 | 0 | 219 | 0 | 0.4 | 29.0 | MIT | 1 year ago | |
| cosmira/sandbox | 0.84 | Cosmira Sandbox provides a lightweight, isolated environment for experimenting with Laravel and PHP code. Use it to safely test package behavior, reproduce issues, and validate changes without risking production data or configuration. | 0 | — | 0 | — | 0 | 20.2 | — | MIT | 3 days ago | |
| hatchyu/laravel-eloquent-foundation | 0.84 | hatchyu/laravel-eloquent-foundation offers a reusable base layer for Laravel Eloquent models, bundling common traits and helpers that cut boilerplate and keep model behavior consistent across your application. | 0 | 0 | 0 | 2K | 0 | 17.4 | 51.5 | — | 1 month ago | |
| andrey-helldar/laravel-roles | 0.84 | A lightweight Laravel package for managing user roles, offering a simple way to define roles and assign them to Eloquent models through a minimal API. Low adoption and limited documentation, so verify maintenance and compatibility before using in production. | 12 | 10 | 2 | 0 | 0 | 0.2 | — | MIT | 6 years ago | |
| stancl/laravel-hasmanywithinverse | 0.84 | Laravel's hasMany leaves the inverse relation unset, so accessing the parent from each child triggers extra queries. This package adds hasManyWithinverse, which hydrates the inverse automatically—so $child->parent is already loaded without N+1. | 69 | — | 5 | — | 1 | 0.9 | — | MIT | 3 years ago | |
| directorytree/authorization | 0.84 | An easy, native role and permission management system for Laravel. Assign roles and permissions to your models, check abilities, cache lookups, and protect routes with built-in middleware. | 179 | 179 | 9 | 209 | 2 | 11.2 | 5.3 | MIT | 7 months ago | |
| laravel-interaction/interactions | 0.84 | Laravel Interaction lets Eloquent models interact polymorphically—likes, favorites, votes, follows, bookmarks, subscriptions, and more. Attach reusable interaction types to any model, query who interacted and what they interacted with, and build social features with clean, extendable APIs. | 1 | — | 0 | — | 0 | 8.4 | — | MIT | 7 months ago | |
| fidum/laravel-eloquent-morph-to-one | 0.84 | 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 | |
| ironshark/laravel-extendable | 0.84 | Add extensibility to Laravel Eloquent models: dynamically attach extra attributes, methods and relationships at runtime without new migrations, letting packages and apps customise core models cleanly and safely. | 24 | 24 | 6 | 0 | 1 | 0.4 | — | MIT | — | |
| fico7489/laravel-pivot | 0.84 | — | 527 | 528 | 53 | 116K | 2 | 13.9 | 33.4 | MIT | 1 year ago | |
| santigarcor/laratrust | 0.84 | Laratrust adds role and permission management to Laravel with support for multiple user models, teams, guards, caching, events, middleware, gates/policies, and an optional admin panel for managing roles and permissions. | 2,274 | 2,289 | 381 | 237K | 8 | 53.9 | 35.1 | MIT | 2 weeks ago | |
| sassnowski/laravel-shareable-models | 0.84 | Laravel package that turns any Eloquent model into a shareable resource with unique, revocable URLs. Add a trait, generate share links, and let recipients view records without writing custom sharing controllers, routes, or token handling. | 268 | 268 | 23 | 12 | 2 | 2.8 | 1.8 | MIT | 3 years ago | |
| davidwesdijk/laravel-polymorphic-eav | 0.84 | Add flexible, polymorphic EAV attributes to any Laravel model. Store custom fields as attribute-value pairs without schema changes, attach them to multiple models, and query them with familiar Eloquent syntax. Great for dynamic product or user metadata. | 6 | 6 | 4 | 0 | 2 | 0.7 | 0.4 | MIT | 5 years ago |
How can I help you explore Laravel packages today?