php - Protected Directory existence and creating custom validator in Yii2 -
i searching password strength meter yii2. found this article yii1. saw protected
directory mention there. i'm unable find folder. available in basic application template or advanced application template?
there no protected
directory in yii2 (neither in basic nor in advanced application template).
where place custom validator - it's you.
i'd recommend components/validators
folder.
here the part of official guide covering custom validation yii2.
also take @ this extension, maybe covers needs, don't have reinvent wheel.
Comments
Post a Comment