cmanley/php-validate (packagist): PHP validation library. You can use it to validate almost anything, e.g. form posts, function parameters, etc.
Keywords: validation|validate|parameters|validity