Skip to content

Latest commit

 

History

History
26 lines (21 loc) · 1.96 KB

README.en.md

File metadata and controls

26 lines (21 loc) · 1.96 KB

PHP Validate

License Php Version Latest Stable Version Coverage Status Github Actions Status zh-CN readme

Lightweight and feature-rich PHP validation and filtering library.

  • Simple and convenient, support to add custom validator
  • Support pre-verification check, customize how to judge non-empty
  • Support grouping rules by scene. Or partial verification
  • Supports the use of filters to purify and filter values before verification built-in filter
  • Support pre-processing and post-processing of verification independent verification processing
  • Support to customize the error message, field translation, message translation of each verification, and support the default value
  • Supports basic array checking, checking of children ('goods.apple') values ​​of arrays, checking of children of wildcards ('users.*.id' 'goods.*')
  • Easy access to error information and secure data after verification (only data that has been checked regularly)
  • More than 60 commonly used validators have been built-in built-in validator
  • Rule setting reference yii, laravel, Respect/Validation
  • Independent filter Inhere\Validate\Filter\Filtration, can be used for data filtering alone

License

MIT