app->register(RouteServiceProvider::class); $this->mergeConfigFrom(module_path('Enterprise', 'Config/config.php'), 'enterprise'); $this->app->singleton(SystemHealthService::class); $this->app->singleton(BackupService::class); } public function boot(): void { $this->loadMigrationsFrom(module_path('Enterprise', 'Database/Migrations')); $this->loadViewsFrom(module_path('Enterprise', 'Resources/views'), 'enterprise'); if ($this->app->runningInConsole()) { $this->commands([HealthCheckCommand::class, BackupCreateCommand::class, BackupPruneCommand::class]); } } }