laminas/laminas-validator
Laminas Validator provides flexible, reusable validation rules for PHP applications. Includes built-in validators, input filtering/validation chains, and tools for validating common data types like emails, URLs, numbers, strings, and more.
Laminas comes with a set of classes for validating both files and uploaded files, such as file size validation and CRC checking.
NOTE: Validation Argument
All the File validators' isValid() methods support both a file path string or a $_FILES array as the supplied argument.
When a $_FILES array is passed in, the tmp_name is used for the file path.
How can I help you explore Laravel packages today?