public function register() { $configPath = realpath(__DIR__ . '/../config/UEditorUpload.php'); $this->mergeConfigFrom($configPath, 'UEditorUpload'); $this->publishes([$configPath => config_path('UEditorUpload.php')], 'config'); }