Skip to content
This repository has been archived by the owner on Sep 13, 2024. It is now read-only.

Latest commit

 

History

History
81 lines (63 loc) · 1.43 KB

CHANGES.md

File metadata and controls

81 lines (63 loc) · 1.43 KB

Changes History

1.3.0

  • Declared compatibility with Laravel 10
  • Update PHPUnit config format
  • Disable phone number Unit tests (need refactoring)

1.2.0

  • Add String validation rules 'containsUppercase', 'containsLowercase', 'containsNumeral' - useful for password validation
  • Declared compatibility with Laravel 7,8,9

1.1.0

Compatibility with Laravel 6

1.0.13

Add missed modelExists() description for intellisence this method in nested rules calls

1.0.12

Add modelExists() to check that identifier exists among passed model class instances

1.0.11

Add when() method that allows to build rules according to conditions

1.0.10

Enum rule. See https://github.com/Saritasa/php-common#enum

1.0.9

Enable Laravel's package discovery https://laravel.com/docs/5.5/packages#package-discovery

1.0.8

Add missed parent service provider register() call

1.0.7

Add rules for validation phone number

1.0.6

Resolve "Presence verifier has not been set." issue for exists and in rules

1.0.5

Add ability to use custom declared validation rules

1.0.4

Add 'sometimes' rule modifier

1.0.3

Add ServiceProvider - allows to use rule builder without explicit ->toString()

1.0.1, 1.0.2

Add more rules, tests, and inline documentation

1.0.0

Basic rules:

  • required
  • required_with
  • required_without

String rules:

  • string
  • regex
  • email

Int rules:

  • int
  • min
  • max