Upgrade guide From v1.x to 2.x Both Traits have been renamed, you can update your Model classes like: - use Ankurk91\Eloquent\BelongsToOne; + use Ankurk91\Eloquent\HasBelongsToOne; - use Ankurk91\Eloquent\MorphToOne; + use Ankurk91\Eloquent\HasMorphToOne;