PHP Classes

How to Use PHP Validation Type Casting to Perform Complex Form Validation with Less Code - Formal PHP Validation Library package blog

Recommend this page to a friend!
  All package blogs All package blogs   Formal PHP Validation Library Formal PHP Validation Library   Blog Formal PHP Validation Library package blog   RSS 1.0 feed RSS 2.0 feed   Blog How to Use PHP Valida...  
  Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)  

Author:

Updated on: 2022-08-25

Posted on: 2022-08-25

Package: Formal PHP Validation Library

Many Web applications need to validate values entered by the users to avoid invalid values that can make the application work unexpectedly.

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.




Loaded Article

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.

This package also implements this validation library in JavaScript and Python.

Conclusion

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

Login Immediately with your account on:

FacebookGmail
HotmailStackOverflow
GitHubYahoo


Comments:

No comments were submitted yet.




  Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)  
  All package blogs All package blogs   Formal PHP Validation Library Formal PHP Validation Library   Blog Formal PHP Validation Library package blog   RSS 1.0 feed RSS 2.0 feed   Blog How to Use PHP Valida...  
For more information send a message to info at phpclasses dot org.