app->runningInConsole()) { return; } Fortify::ignoreRoutes(); } public function boot(): void { ResourceCollection::withoutWrapping(); // facades $this->app->bind('ssh', function () { return new SSH; }); $this->app->bind('notifier', function () { return new Notifier; }); $this->app->bind('ftp', function () { return new FTP; }); if (! $this->app->runningInConsole()) { Sanctum::usePersonalAccessTokenModel(PersonalAccessToken::class); } } }