By the book, you suppose to manage post requests with core validators and rules that are described within a model. The problem comes up if you want to use a separate variable elsewhere.
First you get it from the request i.e.
$var = \Yii::$app->request->post('var');
Then you need to validate it before use. For example, it needs to be an email. Yii2 has a standard validator 'email', but how do I apply it separately?
I would assume something like this:
if( !\Yii::$app->coreValidator( $var, $rule ) )
return $this->error();