yii2 get request params code example Example: yii2 get value from params $value = Yii::$app->params['nameParameter'];