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. [Validation &amp; Sanitization](/categories/validation)
4. /
5. yii1x/validator

ActiveLibrary[Validation &amp; Sanitization](/categories/validation)

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

validator

0.1.0(2mo ago)031PHPPHP ^8.3

Since Apr 24Pushed 1mo agoCompare

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

READMEChangelog (1)Dependencies (2)Versions (3)Used By (1)

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

36

—

LowBetter than 79% of packages

Maintenance88

Actively maintained with recent releases

Popularity3

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90% 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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

70d ago

### 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 (9 commits)")[![qwen-intl](https://avatars.githubusercontent.com/u/223635574?v=4)](https://github.com/qwen-intl "qwen-intl (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[symfony/symfony

The Symfony PHP framework

31.4k87.2M2.2k](/packages/symfony-symfony)[guzzlehttp/psr7

PSR-7 message implementation that also provides common utility methods

8.0k1.1B4.0k](/packages/guzzlehttp-psr7)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[aporat/store-receipt-validator

PHP receipt validator for Apple App Store and Amazon Appstore

6544.0M13](/packages/aporat-store-receipt-validator)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)

PHPackages © 2026

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