Просто в низу текущего composer.json добавить
{
"name": "yiisoft/yii2-app-basic",
"description": "Yii 2 Basic Project Template",
"keywords": ["yii2", "framework", "basic", "project template"],
"homepage": "
www.yiiframework.com",
"type": "project",
"license": "BSD-3-Clause",
"support": {
"issues": "
https://github.com/yiisoft/yii2/issues?state=open",
"forum": "
www.yiiframework.com/forum",
"wiki": "
www.yiiframework.com/wiki",
"irc": "irc://irc.freenode.net/yii",
"source": "
https://github.com/yiisoft/yii2"
},
"minimum-stability": "stable",
"require": {
"php": ">=5.4.0",
"yiisoft/yii2": "~2.0.5",
"yiisoft/yii2-bootstrap": "~2.0.0",
"yiisoft/yii2-swiftmailer": "~2.0.0",
"dmstr/yii2-adminlte-asset": "2.*",
"kartik-v/yii2-widget-fileinput": "@dev",
"kartik-v/yii2-widget-select2": "@dev",
"kartik-v/yii2-sortable": "@dev",
"2amigos/yii2-date-picker-widget": "~1.0",
"rmrevin/yii2-comments": "~1.4",
"kartik-v/yii2-grid": "@dev",
"unclead/yii2-multiple-input": "~2.0",
"johnitvn/yii2-ajaxcrud": "*",
"kartik-v/yii2-tabs-x": "@dev",
"mihaildev/yii2-ckeditor": "*"
},
"require-dev": {
"yiisoft/yii2-debug": "~2.0.0",
"yiisoft/yii2-gii": "~2.0.0",
"yiisoft/yii2-faker": "~2.0.0",
"codeception/base": "^2.2.3",
"codeception/verify": "~0.3.1",
"codeception/specify": "~0.4.3"
},
"config": {
"process-timeout": 1800
},
"scripts": {
"post-install-cmd": [
"yii\\composer\\Installer::postInstall"
],
"post-create-project-cmd": [
"yii\\composer\\Installer::postCreateProject",
"yii\\composer\\Installer::postInstall"
]
},
"extra": {
"yii\\composer\\Installer::postCreateProject": {
"setPermission": [
{
"runtime": "0777",
"web/assets": "0777",
"yii": "0755"
}
]
},
"yii\\composer\\Installer::postInstall": {
"generateCookieValidationKey": [
"config/web.php"
]
}
},
"repositories": [
{
"type": "composer",
"url": "
https://asset-packagist.org"
}
]
}