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