2017 © Pedro Peláez
 

library validate

Validate data through a filter system

image

psx/validate

Validate data through a filter system

  • Thursday, June 1, 2017
  • by k42b3
  • Repository
  • 1 Watchers
  • 0 Stars
  • 21,976 Installations
  • PHP
  • 3 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 7 Versions
  • 15 % Grown

The README.md

Validate

About

Validation library which validates arbitrary data using a flexible filter system., (*1)

Usage

<?php

use PSX\Validate\Filter;
use PSX\Validate\Validate;

$validate = new Validate();
$result   = $validate->validate($data, Validate::TYPE_STRING, [new Filter\Alnum(), new Filter\Length(3, 255)]);

if ($result->isSuccessful()) {
    echo 'Valid!';
} else {
    echo implode(', ', $result->getErrors());
}

The Versions

01/06 2017

dev-master

9999999-dev http://phpsx.org

Validate data through a filter system

  Sources   Download

Apache-2.0

The Requires

  • php >=5.6

 

The Development Requires

filter validation

08/05 2017

v1.0.1

1.0.1.0 http://phpsx.org

Validate data through a filter system

  Sources   Download

Apache-2.0

The Requires

  • php >=5.6

 

The Development Requires

filter validation

08/05 2016

v1.0.0

1.0.0.0 http://phpsx.org

Validate data through a filter system

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

filter validation

03/04 2016

v0.1.3

0.1.3.0 http://phpsx.org

Validate complex data structures

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

filter validation

02/04 2016

v0.1.2

0.1.2.0 http://phpsx.org

Validate complex data structures

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

filter validation

02/04 2016

v0.1.0

0.1.0.0 http://phpsx.org

Validate complex data structures

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

json validation

02/04 2016

v0.1.1

0.1.1.0 http://phpsx.org

Validate complex data structures

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

json validation