spqr/vendor/workerman/validation/README.md

21 lines
1.4 KiB
Markdown
Raw Permalink Normal View History

2024-11-05 12:10:06 +08:00
# [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)