app->singleton(\App\Services\WebhookService::class); // Register our AssetServiceProvider $this->app->register(AssetServiceProvider::class); } /** * Bootstrap any application services. */ public function boot(): void { // Register the UserObserver User::observe(UserObserver::class); // Register the PlanObserver Plan::observe(PlanObserver::class); // Configure dynamic storage disks try { // \App\Services\DynamicStorageService::configureDynamicDisks(); } catch (\Exception $e) { // Silently fail during migrations or when database is not ready } } }