[ 'required', Rule::in($this->site->server->installedPHPVersions()), ], ]; } public function createFields(array $input): array { return [ 'web_directory' => $input['web_directory'] ?? '', 'php_version' => $input['php_version'] ?? '', ]; } public function data(array $input): array { return []; } public function install(): void { $this->site->server->webserver()->handler()->createVHost($this->site); $this->progress(65); $this->site->php()?->restart(); } }