Download the PHP package marcuspmd/attr_tools without Composer
On this page you can find all versions of the php package marcuspmd/attr_tools. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package attr_tools
Documentation
The attrTools
library offers a collection of validators to enforce rules on your data models.
These validators can be used as attributes in PHP classes.
Installation
You can install the package via composer:
Usage
To use the validators, you need to create a new instance of the AttrValidator
class and pass the object you want to validate.
Validators
The following validators are available:
Common Validators
- BooleanValidator link
- EmailValidator link
- EnumValidator link
- UrlValidator link
- IpValidator link
- UuidValidator link
- IsNotNullValidator link
- InstanceValidator link
- EqualsValidator link
- IsNotEqualsValidator link
- RequiredValidator link
- CustomFunctionValidator link
Array Validators
- CountValidator link
- InArrayValidator link
Date Validators
- DateTimeValidator link
- DateRangeValidator link
Numeric Validators
- DecimalValidator link
- NumericValidator link
- RangeValidator link
- GreaterThanValidator link
- GreaterThanOrEqualValidator link
- LessThanValidator link
- LessThanOrEqualValidator link
String Validators
- LengthValidator link
- RegexValidator link
Brazilian Validators
- CnpjValidator link
- CpfValidator link
All versions of attr_tools with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.0
The package marcuspmd/attr_tools contains the following files
Loading the files please wait ....