Skip to content

Releases: nilportugues/php-validator

3.0.3

02 Nov 20:29
Compare
Choose a tag to compare
  • More namespaced functions due to updated "nilportugues/php_backslasher" dependency to version "~0.2"

3.0.2

02 Nov 00:11
Compare
Choose a tag to compare
  • Namespaced all PHP internal functions

Bug fixing

01 Oct 12:45
Compare
Choose a tag to compare
  • Adding twice or more times the same condition will override the previous one, instead of piling them up. This was a bug, not a feature. 97c6aca
  • Url validation threw a warning on empty strings. Fixed with strlen > 0. a03bb91
  • Added reset() method in AbstractValidator ea8c23d

Memory usage improvements

18 Sep 21:24
Compare
Choose a tag to compare
  • Reduced memory 48.43 % based on the previous release (v2.0.0).
  • Validator class now uses create() instead of __construct (Implements flyweight pattern). This method differs from v2 create.
  • ValidatorFactory::create can be used to create Validators based on array rules.
  • Updated documentation.

PHP7 Compatible implementation

30 Apr 11:35
Compare
Choose a tag to compare
v2.0.0

Fixes for full PHP7 compatibility

isPositiveOrZero & isNegativeOrZero

27 Sep 22:40
Compare
Choose a tag to compare

(#11) isPositiveOrZero & isNegativeOrZero added for Integer and Float validators

First stable release

26 Sep 20:24
Compare
Choose a tag to compare
v1.0

Update README.md