Validators

Introduction

laminas-i18n provides a set of validators that use internationalization capabilities.

These validators are based on Laminas component for validation of data and files: laminas-validator. The documentation of laminas-validator also describes the translate of the validation messages.

Installation Requirements

The validation support of laminas-i18n depends on the laminas-validator component, so be sure to have it installed before getting started:

$ composer require laminas/laminas-validator