A set of validating methods for your php projects