When I update my composer to add yii2-solr
extension to my project, I encounter with an error like below:
The \"yiisoft/yii2-composer\" plugin requi
You can require yidas/yii2-composer-bower-skip
before yiisoft/yii2
in composer.json
file:
"require": {
"php": ">=5.4.0",
"yidas/yii2-composer-bower-skip": "~2.0.0",
"yiisoft/yii2": ">=2.0.5",
"yiisoft/yii2-bootstrap": "*",
...
Then run composer update
.
This case is for that you don't need the update for Bower.
See https://github.com/yidas/yii2-composer-bower-skip