Cetak URL di View Yii2

$currentUrl = Yii::$app->request->url; //gives current URL
Code Phantom