How to change app name in Yii2

Yii2 Default application name is “My Application”. You can change this name by editing the config/main.php. Just add the application name property in Config Array.

NOTE: If you’re using the advanced app you will need to change the frontend and backbend config/main.php files.

You can access site or app name with Yii::$app->name.


I hope you like this Post, Please feel free to comment below, your suggestion and problems if you face - we are here to solve your problems.