2017 © Pedro Peláez
 

spryprovider spry-validator

Provider for Spry

image

ggedde/spry-validator

Provider for Spry

  • Thursday, February 1, 2018
  • by ggedde
  • Repository
  • 1 Watchers
  • 0 Stars
  • 61 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 6 Versions
  • 2 % Grown

The README.md

spry-validator

Default Validator for Spry Params, (*1)

Requires

  • PHP 5.4^
  • Spry-Core https://github.com/ggedde/spry-core

Usage


$name = Spry::validator()->validate('name'); // No Error on Failure $id = Spry::validator()->required()->integer()->min(1)->validate('id'); // Spry Stop Error if Empty or not an Integer $date = Spry::validator()->required()->date()->validate('date'); // Spry Stop Error if Empty or not a Date format $password = Spry::validator()->required()->minLength(12)->validate('password'); // Spry Stop Error if Length is less then 12

Full Documentation

https://github.com/blackbelt/php-validation, (*2)

The Versions

01/02 2018

dev-master

9999999-dev

Provider for Spry

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

by Avatar ggedde

01/02 2018

0.9.4

0.9.4.0

Provider for Spry

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

by Avatar ggedde

02/01 2018

0.9.3

0.9.3.0

Provider for Spry

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

by Avatar ggedde

02/10 2017

0.9.2

0.9.2.0

Provider for Spry

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

by Avatar ggedde

18/08 2017

0.9.1

0.9.1.0

Provider for Spry

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

by Avatar ggedde

11/07 2017

0.9.0

0.9.0.0

Provider for Spry

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

by Avatar ggedde