use AppModelsSanctumPersonalAccessToken; use LaravelSanctumSanctum; /** * Bootstrap any application services. * * @return void */ public function boot() { Sanctum::usePersonalAccessTokenModel(PersonalAccessToken::class); }