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.
Added support for nikic/php-parser 5
Full Changelog: https://github.com/KKSzymanowski/Traitor/compare/1.0.0...1.1.0
Upgrade to PHP >=7.2 Upgrade to phpunit 8.5 Handle declare(strict_types=1). Handle classes with no namespace. Handle empty classes Remove Travis CI config, move to Github Actions
Allow for nikic/php-parser 1.* or 2.* to fix composer conflicts.
How can I help you explore Laravel packages today?