Skip to content

Releases: tamedevelopers/validator

v4.2.7

11 Oct 19:46

Choose a tag to compare

v4.2.6

09 Oct 05:03

Choose a tag to compare

v4.2.5

08 Oct 22:50

Choose a tag to compare

Crucial update and method name change

  • submit method has been changed to ->rules()
  • error method has been changed to ->validate() This is now [optional]
  • success method has been changed to ->save()

v4.2.4

07 Oct 02:10

Choose a tag to compare

v4.2.3

04 Oct 02:52

Choose a tag to compare

Minor changes

v4.2.1

26 Sep 00:47

Choose a tag to compare

git update

v4.2.0

23 Sep 16:25

Choose a tag to compare

Important Notice

  • The overall namespace has been changed from peterson/validator to tamedevelopers/validator.

Please bear with us, as we needed past and future package to be inside of one folder to represent Tamedevelopers in general.

  • from
    use \Validator\Validator;

  • to
    use \Tamedevelopers\Validator\Validator;

v4.0.1

20 Sep 17:13

Choose a tag to compare

old method update
Ability to add default optional data to the old method

v3.3.9

20 Sep 14:32

Choose a tag to compare

[Reset Error Method Added] (ad85d88)

->success(function($response){

$availableUserAmount = 900;

<!-- Lets say for instance, users have wallet balance and the form request has no error -->
<!-- But you need to perform another error validator before you allow request to pass through -->
<!-- Don't forget the add the "return;" key to stop any other code from executing -->


if($response->amount > $availableUserAmount){
    $response->resetError();
    $response->message = "Your wallet balance is too low, Please recharge before you can Subscribe to Plan!";        
    return;
}

// perform other request before

});

v3.3.8

18 Sep 19:56

Choose a tag to compare