In this tutorial I will show to you about the recommended way to install YII2, there are 2 ways to install YII2 first using composer and the second is by downloading the application template.
What Should We do here ?
Understanding What is Composer.
Install YII2 using Composer.
Build Advanced Application of YII2 using composer.
Configuration for Advanced Application of YII2.