app->singleton(WorkflowClientInterface::class, function () { return WorkflowClient::create( ServiceClient::create(config('temporal.address')) ); }); $this->app->alias(WorkflowClientInterface::class, WorkflowClient::class); } public function boot(): void { $this->publishes([ __DIR__ . '/../../config/temporal.php' => config_path('temporal.php'), ], 'temporal-config'); } }