16 Star 80 Fork 13

inhere / php-validate

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.en.md

PHP Validate

License Php Version Latest Stable Version Build Status Coverage Status Github Actions Status

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

Comments ( 13 )

Sign in for post a comment

About

一个简洁小巧且功能完善的php验证、过滤库。 spread retract
Cancel

Releases (1)

All

Gitee Metrics

Contributors

All

Activities

load more
can not load any more
PHP
1
https://git.oschina.net/inhere/php-validate.git
git@git.oschina.net:inhere/php-validate.git
inhere
php-validate
php-validate
master

Search