kkszymanowski/traitor
Traitor brings traits to Eloquent like first-class relations. Define reusable, composable model fragments and access them via $model->traitName, eager load with with('traitName'), and query through them—keeping models slim while sharing behavior and attributes.
Add a Trait use statement to existing PHP class
How can I help you explore Laravel packages today?