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

JSLabs Blog: How to use the facebook API

Dublish.com: Simple Optimization for PHP and MySQL

456Bereastreet.com: Build your own PHP style sheet switcher

Scott Johnson's Blog: Podcast : PHP Theory 1

Rob Allen: Integrating ZF2 forms into Slim


Community Events





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


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

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