WEBHKP
Pvalidate: Range (including Gt, Gte, Lt, Lte) [Validation Rule]
This documentation provides a detailed explanation of how to use the Webhkp\Pvalidate validation library to validate class properties and individual values based on various validation rules, including range, allow, disallow, greater than, and less than constraints. Import required classes- Object Validation Define a class (MyClass) with properties that require validation: Here, various validation rules are … Read more
Pvalidate: Required [Validation Rule]
The following code demonstrates the usage of the Webhkp\Pvalidate validation library to validate class properties and individual values based on specified validation rules. Here is the summary of Required rule usage- Import Necessary Classes from Package Object Property Validation Here, the #[Required] attribute specifies that the properties must have values (i.e., they cannot be null … Read more
Pvalidate: Object Validation
Usage Output:
GoDFT – Source Code
In Progress
GoDFT – MySQL
In Progress
GoDFT – Internals
In Progress
GoDFT – Adapter
In Progress
GoDFT – JSON Driver
In Progress JSON as Source Parameters- Key Value Type Type inputPath Path of a json fileor Path to a directory containing JSON files. In the case of directory, all JSON files in the directory will be parsed. array JSON as Destination Key Value Type Type outputPath Directory path string NOTES Examples