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