Registry / utility / zendframework-zend-validator

zendframework-zend-validator

JSON →
library2.13.0phppackagistunverified

Validation classes for a wide range of domains, and the ability to chain validators to create complex validation criteria.

composer require zendframework/zend-validator
INSTALL
IMPORT
SIG · ZENDFRAMEWORK-ZEND
Z
zendframework-zend-validator
utilityphpv2.13.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

EmailAddress
use Zend\Validator\EmailAddress;

Validates an email address using Zend Validator.

use Zend\Validator\EmailAddress; $validator = new EmailAddress(); if ($validator->isValid('user@example.com')) { echo 'Valid email'; } else { foreach ($validator->getMessages() as $message) { echo $message . "\n"; } }
Debug
Known issues
breakingThis package is part of the archived Zend Framework; consider migrating to Laminas.
fix
Replace zendframework/zend-validator with laminas/laminas-validator.
affects: >=2.0.0
Upgrade
Version history
2.13.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
36 hits · last 30 days
node
34
Resources
zendframework-zend-validator — pip install zendframework-zend-validator · libregistry