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

Maarten Balliauw's Blog: Generic arrays in PHP

Randy Boland\'s Blog: JavaScript, JSON, and PHP

Phil Sturgeon's Blog: Give CodeIgniter's Parser library more kick with Dwoo

PHPMaster.com: Generate QR Codes in PHP

Pádraic Brady's Blog: PHP OpenID 2.0 library for PEAR Updates


Community Events





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


community podcast voicesoftheelephpant package api symfony bugfix interview library introduction list framework deployment tips series laravel install language opinion release

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