In India have Aadhar number an we may need to valid it a input. So I created a validator for yii2
In India have Aadhar number an we may need to valid it a input. So I created a validator for yii2
There are cases that model validators should be depended by controller/action and you couldn't manipulate on the model class or using scenarios in easy way