validation icon indicating copy to clipboard operation
validation copied to clipboard

PHP Standalone Validation Library

Results 52 validation issues
Sort by recently updated
recently updated
newest added

Hey, I have a validator rule like this: `$validator->make($_POST, 'dateOfBirth'=>'date:Y/m/d|before:today' );` As you can see, the date field is not required, it is optional, but if someone wants to enter...

Hi, how would i check object params? There are only examples for arrays.

Add length in rule: "The :attribute must have length only :allowed_values" where a field can be several length values

Hello What can I do for a project on php5?

It seems to be dead, no PRs or issues were addressed in the last ~2 years.

Hello, I share my translation into Spanish. Create a 'Translations' folder that contains a 'Versions' folder, inside it is the version of the validator that I translated into Spanish. In...

1. There's no `nullable` validator like in laravel. It allows to skip validations if user doesnt send the value 2. You hardcoding "new Rule", "new Validator" statements and dont use...

For example, when using the `same:` rule, the message is `"The :attribute must be same with :field"`, which gives us: ``` The New Password (again) must be same with new_password...