Emma Validations

Emma Validations

A PHP 8.0+ Attribute Based Validation For Properties of Object/Entity/DTO. Comes with in-built data-type converter that can be implemented to make validation easy without compromising your object. You can create your own custom Validators and/or Converter by implementing a simple interface. The Validator class is a PHP class that implements the ValidationInterface and provides methods for validating object properties.

Validation Usage Example

Code Application Example: Validating an Object The Validator class is a PHP class that implements the ValidationInterface and provides methods for validating object properties. That’s...

Written by admin
May 21, 2022

Validators

A PHP 8.2+ Attribute Based Valdiation For Properties of Object/Entity/DTO. Comes with in-built data-type converter that can be implmented to make validation easy without compromising...

Written by admin
May 21, 2022

Converters

The Converter are PHP attribute that can be applied to properties in an entity/DTO class to specify the input and output formats for converting values...

Written by admin
May 17, 2022