Custom PHP validation library for the Laravel 4 framework