PHPackages                             valid8r/valid8r\_php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Validation &amp; Sanitization](/categories/validation)
4. /
5. valid8r/valid8r\_php

AbandonedArchivedLibrary[Validation &amp; Sanitization](/categories/validation)

valid8r/valid8r\_php
====================

Validation library supporting multiple programming languages

v0.1.0(12y ago)126MITPHPPHP &gt;=5.3.0

Since Dec 19Pushed 2y ago1 watchersCompare

[ Source](https://github.com/thomporter/valid8r_php)[ Packagist](https://packagist.org/packages/valid8r/valid8r_php)[ Docs](http://thomporter.com/valid8r)[ RSS](/packages/valid8r-valid8r-php/feed)WikiDiscussions master Synced 6d ago

READMEChangelogDependenciesVersions (7)Used By (0)

REPO ARCHIVED
=============

[](#repo-archived)

This is quite old, no one should be using it.

[![Valid8r - Validation for multiple programming languages.](https://camo.githubusercontent.com/e53c31cf24da844bf132e8c18755c8a4a0308ff8c100f8639906cb06f2517358/68747470733a2f2f7261772e6769746875622e636f6d2f74686f6d706f727465722f76616c696438722f6d61737465722f6c6f676f2e706e67)](https://camo.githubusercontent.com/e53c31cf24da844bf132e8c18755c8a4a0308ff8c100f8639906cb06f2517358/68747470733a2f2f7261772e6769746875622e636f6d2f74686f6d706f727465722f76616c696438722f6d61737465722f6c6f676f2e706e67)

Valid8r for PHP
===============

[](#valid8r-for-php)

Valid8r is a validation library for multiple programming languages using a common JSON configuration file. Learn more about Valid8r and the configuration file at:

Installation
------------

[](#installation)

Valid8r for PHP really only has one file you need. If you don't care about testing, examples, etc, you can simply grab the `Valid8r.php` file from the `lib/Valid8r` folder:

[https://raw.github.com/thomporter/valid8r\_php/master/lib/Valid8r/Valid8r.php](https://raw.github.com/thomporter/valid8r_php/master/lib/Valid8r/Valid8r.php)

Alternatively, you can clone this rep and get examples &amp; tests.

You can also install via Composer:

```
{
  "require": {
    "valid8r/valid8r_php": ">=v0.0.3"
  }
}

```

Examples
--------

[](#examples)

Get the Examples folder running on an PHP enabled web server and you can check out the Kitchen Sink examples.

Here's a quick idea of how it works in PHP:

```
