Yii2 Validators migration guide
Open
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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