yii1x / validator
There is no license information available for the latest version (0.1.0) of this package.
validator
0.1.0
2026-04-24 14:07 UTC
Requires
- php: ^8.3
- psr/http-message: ^2.0
Requires (Dev)
- phpunit/phpunit: ^12.0
This package is auto-updated.
Last update: 2026-04-24 14:17:09 UTC
README
This package provides the validation functionality from Yii 1.1 as a standalone component.
It can be used independently of the rest of the framework — perfect for legacy projects or when you need Yii-style validation in modern PHP applications.
Installation
Install via Composer:
composer require yii1x/validator
Migration Notice
⚠️ Migration from Yii1
The DateValidator format syntax has changed from Yii1 (MM/dd/yyyy) to PHP-native (m/d/Y).
After upgrading, review and update your format strings to match PHP DateTime masks.
License
This package is released under the BSD License, the same license used by the Yii1 framework.