2017 © Pedro Peláez
 

library filtr

Simple and fluent input validation for PHP >= 5.3.

image

vaibhavpandeyvpz/filtr

Simple and fluent input validation for PHP >= 5.3.

  • Wednesday, March 1, 2017
  • by vaibhavpandeyvpz
  • Repository
  • 1 Watchers
  • 1 Stars
  • 12 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

vaibhavpandeyvpz/filtr

Simple and fluent input validation for PHP >= 5.3., (*1)

Build status ![Code Coverage][code-coverage-image] ![Latest Version][latest-version-image] ![Downloads][downloads-image] ![PHP Version][php-version-image] ![License][license-image], (*2)

SensioLabsInsight, (*3)

Preview (झलक)

<?php

$v = new Filtr\Validator();
$v->required('email')->isNotBlank()->isEmailAddress();
$v->required('password')->isNotBlank()->isHavingLength(8, 32);
$v->key('remember_me')->isTrue();

$result = $v->validate([
    'email' => 'contact@vaibhavpandey.com',
    'password' => 'not-much-secret',
]);

if ($result->valid()) {
    // ... proceed
} else {
    echo implode('<br>', $result->errors());
}

Documentation

Detailed installation and usage instructions can be found in the Wiki., (*4)

License

See LICENSE.md file., (*5)

The Versions

01/03 2017

dev-master

9999999-dev http://vaibhavpandeyvpz.github.io/filtr

Simple and fluent input validation for PHP >= 5.3.

  Sources   Download

MIT

The Requires

  • php ^5.3 || ^7.0

 

The Development Requires

validation filtering input

01/03 2017

1.1

1.1.0.0 http://vaibhavpandeyvpz.github.io/filtr

Simple and fluent input validation for PHP >= 5.3.

  Sources   Download

MIT

The Requires

  • php ^5.3 || ^7.0

 

The Development Requires

validation filtering input

17/02 2017

1.0.3

1.0.3.0 http://vaibhavpandeyvpz.github.io/filtr

Simple and fluent input validation for PHP >= 5.3.

  Sources   Download

MIT

The Requires

  • php ^5.3 || ^7.0

 

The Development Requires

validation filtering input

11/02 2017

1.0.2

1.0.2.0 http://vaibhavpandeyvpz.github.io/filtr

Simple and fluent input validation for PHP >= 5.3.

  Sources   Download

MIT

The Requires

  • php ^5.3 || ^7.0

 

The Development Requires

validation filtering input

01/02 2017

1.0.1

1.0.1.0 http://vaibhavpandeyvpz.github.io/filtr

Simple and fluent input validation for PHP >= 5.3.

  Sources   Download

MIT

The Requires

  • php ^5.3 || ^7.0

 

The Development Requires

validation filtering input

01/02 2017

1.0

1.0.0.0 http://vaibhavpandeyvpz.github.io/filtr

Simple and fluent input validation for PHP >= 5.3.

  Sources   Download

MIT

The Requires

  • php ^5.3 || ^7.0

 

The Development Requires

validation filtering input