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

QaFoo.com: Mocking with Phake

Sebastian Bergmann's Blog: Getting Started with Hamcrest

Ibzi's Blog: Start caching all your pages in 5 steps

NetTuts.com: Aspect-Oriented Programming in PHP with Go!

Pádraic Brady's Blog: OpenID library for the Zend Framework?


Community Events





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


release tips introduction threedevsandamaybe list bugfix api framework podcast zendserver code series symfony voicesoftheelephpant laravel interview community deployment language conference

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