basic library for simplifying data validation in PHP