Installation The preferred way to install this extension is through composer. Either run php composer.phar require --prefer-dist appmake/yii2-bootstrap "*" or add "appmake/yii2-bootstrap": "*" to the require section of your composer.json file.