yiisoft / yiisoft/validator

Yii2 Validators migration guide

Open
#593 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

type:docs
Dominant language
PHP
Stars
167
Forks
47
Avg merge
1d 19h
Merged PRs (30d)
3

Description

It would be great to have an instruction how to migrate custom validators from Yii2 to Yii3.

Show some examples what to do with the validator to migrate Yii2 validation mechanism to Yii3 one.

It also may need an AbstractYii2Validator class to make migration soft.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the existing Yii2 and Yii3 validator APIs and how custom validators are represented in this repository. Document migration steps with concrete examples, and clarify whether an AbstractYii2Validator compatibility class is needed; done means the guide covers both the migration path and that compatibility decision.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.