This is the core framework code of Yii 2.
The preferred way to install the Yii framework is through composer.
Refer to Bower and NPM Assets installation to select an asset installation method.
composer require huangdingbo/yii2
to the require section of your composer.json.