News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Vance Lucas:
Valitron The Simple Validation Library That Doesn't Suck
March 05, 2013 @ 11:43:24

Vance Lucas has created a "validation library that dosen't suck" and posted about it to his site - his Valitron library.

Valitron is a simple, minimal and elegant stand-alone PHP validation library with NO dependencies. Valitron uses simple, straightforward validation methods with a focus on readable and concise syntax.

He created the library because of frustration with other tools that had (sometimes major) dependencies on other packages. All he wanted was something lightweight and easy to use that was flexible about how it handled its validation rules. Valitron lets you apply a validation (like "required") against multiple fields in the provided data and includes checks for things like length, valid IP, active URL, alpha-numeric, date format and regular expression match. You can also add custom validation rules via a callback/closure.

0 comments voice your opinion now!
validation library valitron simple dependencies


blog comments powered by Disqus

Similar Posts

Community News: MySQL native driver for PHP - mysqlnd

ProDevTips.com: PHP Doctrine - adding automatic, simple CRUD

Anthony Ferrara's Blog: Random Number Generation In PHP

Ken Guest's Blog: A response to "Better Postal/Zip Code Validation Method for CakePHP 1.2"

Wolfgang Drews' Blog: Using YUI autocomplete with Zend Framework


Community Events





Don't see your event here?
Let us know!


deployment language zendserver release community api interview package library opinion install tips unittest series framework update symfony podcast introduction laravel

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework