PHPackages                             yii1x/validator - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. yii1x/validator

ActiveLibrary

yii1x/validator
===============

validator

00PHP

Since Feb 24Pushed 2mo agoCompare

[ Source](https://github.com/yii1x/validator)[ Packagist](https://packagist.org/packages/yii1x/validator)[ RSS](/packages/yii1x-validator/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

Yii1 Validator — Standalone Validation Component
================================================

[](#yii1-validator--standalone-validation-component)

[![Latest Stable Version](https://camo.githubusercontent.com/6b21e7cad53e8ff049893754fa7f8a5ab7f409b751d4abd779d2fedd6c8e11fd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f79696931782f76616c696461746f72)](https://packagist.org/packages/yii1x/validator)[![Total Downloads](https://camo.githubusercontent.com/37c06dbfed08fef69fc9023f23c95ba61c98041bcddc0f5205fb3c7c2b64f91c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f79696931782f76616c696461746f72)](https://packagist.org/packages/yii1x/validator)[![License](https://camo.githubusercontent.com/81bf083d5052d13f190b7886024d012ffdb09220d63193b86044fde14bd0c87e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f79696931782f76616c696461746f72)](https://github.com/yii1x/validator/blob/master/LICENSE)

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
------------

[](#installation)

Install via Composer:

```
composer require yii1x/validator

```

Migration Notice
----------------

[](#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
-------

[](#license)

This package is released under the BSD License, the same license used by the Yii1 framework.

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance56

Moderate activity, may be stable

Popularity0

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity14

Early-stage or recently created project

 Bus Factor1

Top contributor holds 83.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/8fd179d8a1c4b1c117e8bce7ed678f7ac9f2c3f8da3e2a64f2be1e45e63fc524?d=identicon)[galtsevt](/maintainers/galtsevt)

---

Top Contributors

[![galtsevt](https://avatars.githubusercontent.com/u/104002161?v=4)](https://github.com/galtsevt "galtsevt (5 commits)")[![qwen-intl](https://avatars.githubusercontent.com/u/223635574?v=4)](https://github.com/qwen-intl "qwen-intl (1 commits)")

### Embed Badge

![Health badge](/badges/yii1x-validator/health.svg)

```
[![Health](https://phpackages.com/badges/yii1x-validator/health.svg)](https://phpackages.com/packages/yii1x-validator)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
