Skip to content

Releases: lfbn/base-model

Add the isUrl validator, more checks and better type definitions.

25 Feb 23:42
Compare
Choose a tag to compare
  • Add the isUrl validator.
  • Add var dump check.
  • Define return type for several methods.

Added the isEmail validator.

21 Feb 23:02
Compare
Choose a tag to compare
1.0.4

Added the following validator: isEmail.

New validators: isTrue, isFalse and isArray

20 Feb 00:08
Compare
Choose a tag to compare
  • Added the following validators: isTrue, isFalse and isArray.

Error messages, to array with no empty properties, and minor changes

16 Feb 23:20
Compare
Choose a tag to compare
  • Improve the composer script for running the tests.
  • Refactor is validating property for a better naming.
  • Change the validate to give messages in case of failed validation.
  • Add PHP DOC with the format expected for the getValidationRules method.
  • Add the possibility to convert the instance to an array with no empty properties.
  • Add to README how to execute the tests.

Add isNull and isNotNull validators. Add linter.

17 Feb 23:41
Compare
Choose a tag to compare
  • Add the following validators: isNull and isNotNull.
  • Improve documentation of the project. Add linter and phpcs to scripts.

First version

13 Feb 00:22
e23f009
Compare
Choose a tag to compare
Merge pull request #1 from lfbn/improvement/add-changelog-better-readme

Add Changelog. Improve Readme.