user()->can('manage_options'); } /** * Get the validation rules that apply to the request. * * @return array */ public function rules() { return [ 'key' => 'required|max:255|alpha_dash', 'value' => 'max:255', ]; } }