laminas/laminas-validator
Validation component for PHP and Laminas applications. Provides a wide range of ready-to-use validators (strings, numbers, dates, files, and more), consistent error messages, and an extensible API to create custom validators and input filtering rules.
Callback validator.Hash), MIME types (MimeType), and word counts (WordCount) to prevent malicious uploads (e.g., XSS, malware).laminas-form or custom forms to validate inputs before processing.laminas-form, laminas-inputfilter).Callback flexibility).*"This package lets us reduce development time and improve data quality by leveraging pre-built, secure validation rules for user inputs and file uploads. For example:
*"Laminas Validator gives us flexible, composable validation with minimal boilerplate:
Callback validator to implement any business rule (e.g., ‘username must match regex’ or ‘order total must exceed $50’).isEmail() AND isNotBlacklisted()).*"This package helps us ship features faster and with fewer bugs by:
How can I help you explore Laravel packages today?