kedniko / vivy
There is no license information available for the latest version (v0.0.10) of this package.
PHP validator
v0.0.10
2024-03-19 16:39 UTC
Requires
- php: ^8.2.0
- brick/math: ^0.11.0
- kedniko/vivy-plugin-standard: ^0.0.4
- nette/php-generator: ^4.1
- nikic/php-parser: ^5
Requires (Dev)
README
๐งช Working in Progress
PHP validation engine
๐ Blazingly fast
๐ฆพ Type safe
๐จ Custom validators
๐งฉ Plugin first approach
Installation
Require this package with composer.
composer require kedniko/vivy
StandardLibrary Plugin
graph TD A[RootType] -->T(Type) T --> SCAL(TypeScalar) T --> OR(TypeOr) T --> COMP(TypeCompound) SCAL --> NUM(TypeNumber) SCAL --> NULL(TypeNull) SCAL --> BOOL(TypeBool) NUM --> INT(TypeInt) NUM --> FLOAT(TypeFloat) T --> ANY(TypeAny) T --> UNDEF(TypeUndefined) SCAL --> STR(TypeString) STR --> FLOATSTR(TypeStringFloat) STR --> INTSTR(TypeStringInt) STR --> STREMAIL(TypeStringEmail) STR --> STRDATE(TypeStringDate) SCAL --> STREMPTY(TypeStringEmpty) STR --> STRNOTEMPTY(TypeStringNotEmpty) COMP --> GR(TypeGroup) COMP --> FILE(TypeFile) COMP --> FILES(TypeFiles) COMP --> ARR(TypeArray)Loading