znck/plug
A collection of pluggable Eloquent traits for Laravel models, adding features like BelongsToThrough, UUID keys, and fixes for belongsTo/morphTo relations. Just use a trait and it boots automatically—no config needed.
instanceof instead class_implements.getErrors and hasError should check errors on all relations.Illuminate\Database\Eloquent\Model from FixBelongsTo and FixMorphTo.$incrementing field from UuidKey. Set this protected $incrementing = false; when using UuidKey.Illuminate\Database\Eloquent\Model from FixBelongsTo.class FixBelongsTo to trait FixBelongsTo.BelongsToThrough relationship.FixBelongsTo, FixMorphTo, SelfDecorating, SelfValidating and UuidKey traits.How can I help you explore Laravel packages today?