Laravel Hasone Отношения пользователей
public function user(): \Illuminate\Database\Eloquent\Relations\HasOne
{
return $this->hasOne(User::class, 'id', 'user_id');
}
Excited Elephant