21 lines
1.4 KiB
Markdown
21 lines
1.4 KiB
Markdown
# [Respect\Validation 验证器](https://github.com/Respect/Validation) 汉化版
|
|
# Respect\Validation
|
|
|
|
[![Build Status](https://img.shields.io/github/actions/workflow/status/Respect/Validation/continuous-integration.yml?branch=master&style=flat-square)](https://github.com/Respect/Validation/actions/workflows/continuous-integration.yml)
|
|
[![Code Coverage](https://img.shields.io/codecov/c/github/Respect/Validation?style=flat-square)](https://codecov.io/gh/Respect/Validation)
|
|
[![Latest Stable Version](https://img.shields.io/packagist/v/respect/validation.svg?style=flat-square)](https://packagist.org/packages/respect/validation)
|
|
[![Total Downloads](https://img.shields.io/packagist/dt/respect/validation.svg?style=flat-square)](https://packagist.org/packages/respect/validation)
|
|
[![License](https://img.shields.io/packagist/l/respect/validation.svg?style=flat-square)](https://packagist.org/packages/respect/validation)
|
|
|
|
The most awesome validation engine ever created for PHP.
|
|
|
|
- Complex rules made simple: `v::numericVal()->positive()->between(1, 255)->validate($input)`.
|
|
- [Granularity control](docs/feature-guide.md#validation-methods) for advanced reporting.
|
|
- [More than 150](docs/list-of-rules.md) (fully tested) validation rules.
|
|
- [A concrete API](docs/concrete-api.md) for non fluent usage.
|
|
|
|
Learn More:
|
|
|
|
* [Documentation](https://respect-validation.readthedocs.io)
|
|
* [How to contribute](CONTRIBUTING.md)
|