Download the PHP package danielz/shape-validator-php without Composer
On this page you can find all versions of the php package danielz/shape-validator-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download danielz/shape-validator-php
More information about danielz/shape-validator-php
Files in danielz/shape-validator-php
Download danielz/shape-validator-php
More information about danielz/shape-validator-php
Files in danielz/shape-validator-php
Vendor danielz
Package shape-validator-php
Short Description Simple (array) shape validator.
License apache-2.0
Package shape-validator-php
Short Description Simple (array) shape validator.
License apache-2.0
Please rate this library. Is it a good library?
Informations about the package shape-validator-php
Simple shape validator
Define all possible fields for a shape and set rules for them. Any field outside of the defined set will trigger an error.
Usage:
Available rules:
required
- the field must be presentnullable
- the field can take null valuesstring
- if the field value is set it must be a valid stringnumeric
- if the field value is set it must have valid numeric valuebool
/boolean
- if the field value is set it must be a valid boolean value (validation is using type comparison===
)any
- allows any values
All versions of shape-validator-php with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.4|^8.0
The package danielz/shape-validator-php contains the following files
Loading the files please wait ....