Published on

How to manage website/application name in Yii2

Authors
  • avatar
    Name
    Bal Singh
    Twitter

If your are looking for "How to manage website/application name in Yii2" or you want to manage your web application name from one place, then you need to do following configuration in your yii2 application, You need to update web.php config file

$config = [ 'id' => 'basic', 'name'=>'My Application',

  Then you can use/access it with Yii::$app->name in whole application.