Registry / web-framework / hyperf-validation

hyperf-validation

JSON →
library3.2.0phppackagistunverified

Validation component for Hyperf framework.

composer require hyperf/validation
INSTALL
IMPORT
SIG · HYPERF-VALIDATION
H
hyperf-validation
web-frameworkphpv3.2.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.

ValidatorFactory
use Hyperf\Validation\ValidatorFactory;

Create a validator instance and validate data against rules.

use Hyperf\Validation\ValidatorFactory; $factory = new ValidatorFactory(); $validator = $factory->make( ['name' => 'John'], ['name' => 'required|string|max:255'] ); if ($validator->fails()) { $errors = $validator->errors(); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
3.2.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
hyperf-validation — pip install hyperf-validation · libregistry