Skip to content

Commit 3749f60

Browse files
committed
update readme
1 parent 802d124 commit 3749f60

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed

README.en.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# PHP Validate
2+
3+
[![License](https://img.shields.io/packagist/l/inhere/php-validate.svg?style=flat-square)](LICENSE)
4+
[![Php Version](https://img.shields.io/badge/php-%3E=7.1-brightgreen.svg?maxAge=2592000)](https://packagist.org/packages/inhere/php-validate)
5+
[![Latest Stable Version](http://img.shields.io/packagist/v/inhere/php-validate.svg)](https://packagist.org/packages/inhere/php-validate)
6+
[![Build Status](https://travis-ci.org/inhere/php-validate.svg?branch=master)](https://travis-ci.org/inhere/php-validate)
7+
[![Coverage Status](https://coveralls.io/repos/github/inhere/php-validate/badge.svg?branch=master)](https://coveralls.io/github/inhere/php-validate?branch=master)
8+
[![Github Actions Status](https://github.com/inhere/php-validate/workflows/Unit-tests/badge.svg)](https://github.com/inhere/php-validate/actions)
9+
10+
Lightweight and feature-rich PHP validation and filtering library.
11+
12+
- Simple and convenient, support to add custom validator
13+
- Support pre-verification check, customize how to judge non-empty
14+
- Support grouping rules by scene. Or partial verification
15+
- Supports the use of filters to purify and filter values ​​before verification [built-in filter](#built-in-filters)
16+
- Support pre-processing and post-processing of verification [independent verification processing](#on-in-Validation)
17+
- Support to customize the error message, field translation, message translation of each verification, and support the default value
18+
- Supports basic array checking, checking of children (`'goods.apple'`) values ​​of arrays, checking of children of wildcards (`'users.*.id' 'goods.*'`)
19+
- Easy access to error information and secure data after verification (only data that has been checked regularly)
20+
- More than 60 commonly used validators have been built-in [built-in validator](#built-in-validators)
21+
- Rule setting reference `yii`, `laravel`, `Respect/Validation`
22+
- Independent filter `Inhere\Validate\Filter\Filtration`, can be used for data filtering alone
23+
24+
## License
25+
26+
[MIT](LICENSE)

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
[![Latest Stable Version](http://img.shields.io/packagist/v/inhere/php-validate.svg)](https://packagist.org/packages/inhere/php-validate)
66
[![Build Status](https://travis-ci.org/inhere/php-validate.svg?branch=master)](https://travis-ci.org/inhere/php-validate)
77
[![Coverage Status](https://coveralls.io/repos/github/inhere/php-validate/badge.svg?branch=master)](https://coveralls.io/github/inhere/php-validate?branch=master)
8+
[![Github Actions Status](https://github.com/inhere/php-validate/workflows/Unit-tests/badge.svg)](https://github.com/inhere/php-validate/actions)
89

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

@@ -971,7 +972,7 @@ phpunit
971972

972973
## License
973974

974-
MIT
975+
[MIT](LICENSE)
975976

976977
## 我的其他项目
977978

0 commit comments

Comments
 (0)