|string> */ public function rules(): array { return [ 'app_name' => ['required', 'string', 'max:255'], 'app_title' => ['required', 'string', 'max:255'], 'app_description' => ['required', 'string'], 'app_keywords' => ['required'], 'app_icon' => ['nullable', 'file', 'mimes:png,jpg,jpeg', 'max:4096'], 'app_logo' => ['nullable', 'file', 'mimes:png,jpg,jpeg', 'max:4096'], 'contact_address' => ['nullable'], 'contact_phone' => ['nullable', 'regex:/^[0-9+\s-]+$/'], 'contact_email' => ['nullable', 'email', 'max:255'], 'about_us' => ['required', 'string'], ]; } }