yii aliases
<?php
@webroot, the Web root directory
@web, the base URL of the currently running Web application. It has the same value as yii\web\Request::$baseUrl.
@app, the base path of the currently running application.
Yii::getAlias('@webroot');
Yii::setAlias('@uploads', '@web/uploads');