Author: Manuel Lemos
Updated on: 2022-08-25
Posted on: 2022-08-25
Package: Formal PHP Validation Library
Usually, developers define a set of rules to validate values entered by users. In some cases, specific values need to be validate by several rules.
This package supports the concept of type casting. This concept allows the definition of rules that combine several other rules into a single rule.
This way, developers can simplify the definition of complex rules in less code than if they had to define all simple rules for each value that their applications need to validate.
About the Formal PHP Validation Library Package
The package Formal PHP Validation Library is one of the few PHP packages that was considered notable recently because it does something that is worth paying attention.
The basic purpose is: Validate a set values with support to type casting
Here follows in more detail what it does:
This package can validate a set of values with support to typecasting.
It can define a set of validation rules with configurable parameters.
The package can also define type casting rules that can combine several types of validation rules.
It can process a set of values passed as an array and returns the validation rules and a list of validation errors.
The Formal PHP Validation Library can be downloaded from download page or be installed using the PHP Composer tool following instructions in the Composer install instructions page.
This package was considered notable for implementing its benefits in a way that is worth noticing.
Notable PHP packages can be often considered innovative. If this package is also innovative, it can be nominated to the PHP Innovation Award and the author may win prizes and recognition for sharing innovative packages.
If you also developed your own notable or innovative packages consider sharing them, so you can also earn more visibility for your package as well nice prizes.
One nice prize that many PHP developers want and you may like is the PHP elePHPant mascot plush.
You need to be a registered user or login to post a comment
1,602,182 PHP developers registered to the PHP Classes site.
Be One of Us!
Login Immediately with your account on:
No comments were submitted yet.