valitron icon indicating copy to clipboard operation
valitron copied to clipboard

Valitron is a simple, elegant, stand-alone validation library with NO dependencies

Results 58 valitron issues
Sort by recently updated
recently updated
newest added

Hi all: Would it be possible to add an example of a custom rule to the README that shows how to compare two items of supplied data, in the same...

In modern web applications, is important to validate form data on both the server-side (for security) and the client-side (for usability). Valitron does the server-side validation quite nicely, and there...

Hey! I'm just wondering -- I don't really know if there's something I'm missing or if it's a bug, but there seems to be problems when trying to validate alpha/alphanumeric...

Still working on the client-side interface, but in the meantime I've come up with something that others might find useful. Basically, the purpose is to allow default values for non-required...

Hello, Is there a way to add custom messages when adding rules with the alternate syntax. Like in this example, where to add custom messages? ``` $rules = [ 'required'...

Adds Sinhala language translations. I'm a native speaker, and more often than not, we use the English terms for popular words even in many government documents, so I continued to...

1. changed method used in test to fix below warning `1) ValidateAddInstanceRuleTest::testUniqueRuleName assertRegExp() is deprecated and will be removed in PHPUnit 10. Refactor your code to use assertMatchesRegularExpression() instead.` 2....

* drop tests for php < 7.3 * migrate phpunit.xml schema * fix tests in order to work on phpunit 10

The required rule does not check arrays. $_FILES is an array, so it would be great if it would be possible to add additional conditions to check first if a...

Language RU: Wrong: 'lengthMin' => "должно содержать более %d символов" correctly => "должно содержать не менее %d символов" -- Wrong: 'lengthMax' => "должно содержать менее %d символов", correctly => "должно...