app/Http/Requests/clienteRequest.php
/**
     * Get the validation rules that apply to the request.
     *
     * @return array
     */
Get the validation rules that apply to the request.
@return array
Get the validation rules that apply to the request . @return array
public function rules()
    {
        return [
            'correo' => 'required | max:50 | min:5 | unique:users,email',
            'repetirCorreo' => 'required| max:50 | min:5 | same:correo',
        ];
    }
public function rules ( ) { return [ 'correo' => 'required | max:50 | min:5 | unique:users,email' , 'repetirCorreo' => 'required| max:50 | min:5 | same:correo' , ] ; }
Get the validation rules that apply to the request.
Get the validation rules that apply to the request .