I work with yii2 in windows 10 by using xampp in my project, But composer command does nothing at all.
To understand more, I have to add this, that composer command works in every path exept one project.
my composer.json:
{
"name": "yiisoft/yii2-app-advanced",
"description": "Yii 2 Advanced Project Template",
"keywords": ["yii2", "framework", "advanced", "project template"],
"homepage": "http://www.yiiframework.com/",
"type": "project",
"license": "BSD-3-Clause",
"support": {
"issues": "https://github.com/yiisoft/yii2/issues?state=open",
"forum": "http://www.yiiframework.com/forum/",
"wiki": "http://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.6",
"yiisoft/yii2-bootstrap": "*",
"yiisoft/yii2-swiftmailer": "*",
"franciscomaya/yii2-sceditor": "dev-master",
"kartik-v/yii2-widget-sidenav": "*",
"mohammad-mahdy/yii2-jdate": "*",
"2amigos/yii2-ckeditor-widget" : "*",
"2amigos/yii2-gallery-widget": "~1.0",
"romka-chev/yii2-swiper" : "*",
"kartik-v/yii2-widgets": "*",
"kartik-v/yii2-grid": "@dev",
"yiisoft/yii2-imagine": "*",
"omnilight/yii2-shopping-cart": "*",
"fxp/composer-asset-plugin": "^1.0"
},
"require-dev": {
"yiisoft/yii2-codeception": "*",
"yiisoft/yii2-debug": "*",
"yiisoft/yii2-gii": "*",
"yiisoft/yii2-faker": "*"
},
"config": {
"process-timeout": 1800
},
"extra": {
"asset-installer-paths": {
"npm-asset-library": "vendor/npm",
"bower-asset-library": "vendor/bower"
}
}
}
For example I want to update composer by using composer update
command, but in the result nothing happens.
do you know What's the problem?
This page didn't help me.
please help me to solve the problem.
What helped me was turning off debugger in PHP storm... so, check that also
Try this
Please remove composer.phar,composer2.phar and composer.bat
from your project folder and try again.
Make sure you take a backup before doing this
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With