Download the PHP package yuandian/validation without Composer
On this page you can find all versions of the php package yuandian/validation. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download yuandian/validation
More information about yuandian/validation
Files in yuandian/validation
Download yuandian/validation
More information about yuandian/validation
Files in yuandian/validation
Vendor yuandian
Package validation
Short Description Helpers for making PHP Attribute validation.
License MIT
Package validation
Short Description Helpers for making PHP Attribute validation.
License MIT
Please rate this library. Is it a good library?
Informations about the package validation
参数验证 validator
使用PHP原生属性进行参数校验
安装
使用示例
-
定义实体文件
- 赋值与验证
自动赋值&&自动验证
-
定义实体文件
- 赋值与验证
自定义验证规则
- 实现
yuandian\Validation\Rule
接口 - 在自定义的类上增加
#[Attribute(Attribute::TARGET_PROPERTY)]
注解
捐献
All versions of validation with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.0
ext-mbstring Version *
ext-ctype Version *
ext-mbstring Version *
ext-ctype Version *
The package yuandian/validation contains the following files
Loading the files please wait ....