mergeConfigFrom(__DIR__ . '/../config/fedi-discover.php', 'fedi-discover'); $this->app->singleton(FediverseClientFactory::class); } public function boot(): void { $this->loadMigrationsFrom(__DIR__ . '/../database/migrations'); if ($this->app->runningInConsole()) { $this->publishes([ __DIR__ . '/../config/fedi-discover.php' => config_path('fedi-discover.php'), ], 'fedi-discover-config'); $this->commands([ PollInstancesCommand::class, ValidateInstancesCommand::class, ]); } } }