Skip to content

Releases: lefuturiste/validator

Code cleanup and updated phpunit to support php 7.8

20 Jan 21:09
Compare
Choose a tag to compare

Resolve #2
Updated phpunit/phpunit from 6.4 to 9.5.1

Contributors: @thibaultjunin

Updated es locale

27 May 21:39
Compare
Choose a tag to compare
fix: update es locales

thx for the translator

fix require rule and add notNull rule

25 May 12:05
Compare
Choose a tag to compare

[BREAKING CHANGES]

fix: the require rule will accept null values
feat: add notNull rule

before this version, a field that was present but with a null value caught the attention of the 'required' rule.
Now with this fix the 'required' rule will only check if a certain key is present in the params or payload.

change requested by @thibaultjunin

Add nested key support

15 May 08:55
Compare
Choose a tag to compare

no breaking changes

1.2

24 Apr 15:55
Compare
Choose a tag to compare
1.2

BREAKING CHANGES

removal of withKeys() method

1.1.3

23 Aug 16:46
Compare
Choose a tag to compare

added requiredAndNotEmpty alias method requested by @thibaultjunin

hope you enjoy it!

1.1.2

29 May 16:18
Compare
Choose a tag to compare

#1 Add alpha numerical and pattern match validation rules

1.1.1

29 Jan 21:16
Compare
Choose a tag to compare

adding exists() helper method on main class

1.1.0

02 Dec 14:11
Compare
Choose a tag to compare
feat: add i18n docs in README.md

1.0.9

27 Nov 20:17
Compare
Choose a tag to compare
[experimental feature]: add boolean validation