specify table name in laravel morph to many code example Example: eloquent relationships $roles = App\User::find(1)->roles()->orderBy('name')->get();