When I try to install this into my project (with minimal dependencies, just guzzle and phpunit) The following fails (and so does the update method:
composer require --prefer-dist yiisoft/yii2-apidoc
I get the following:
Using version ^2.1 for yiisoft/yii2-apidoc
./composer.json has been updated
Running composer update yiisoft/yii2-apidoc
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- yiisoft/yii2-apidoc[2.1.1, ..., 2.1.5] require yiisoft/yii2 ~2.0.13 -> satisfiable by yiisoft/yii2[2.0.13, ..., 2.0.41].
- yiisoft/yii2-apidoc 2.1.0 requires yiisoft/yii2 ~2.0.4 -> satisfiable by yiisoft/yii2[2.0.4, ..., 2.0.41].
- yiisoft/yii2[2.0.4, ..., 2.0.6] require bower-asset/jquery 2.1.*@stable | 1.11.*@stable -> could not be found in any version, but the following packages provide it:
- craftcms/cms Craft CMS
- yidas/yii2-bower-asset Bower Assets for Yii 2 app provided via Composer repository
- yidas/yii2-composer-bower-skip A Composer package that allows you to install or update Yii2 without Bower-Asset
- jamband/yii2-schemadump Generate the schema from an existing database
- yidas/yii2-jquery jQuery Asset Bundle extension with fixed and CDN sources for Yii2 framework
- jamband/yii2-ensure-unique-behavior This extension insert unique identifier automatically for the Yii 2 framework
- taobig/php-helper A tool set for PHP projects
- demokn/yii2-composer-asset
- stiks/yii2-composer-bower-skip A Composer package that allows you to install or update Yii2 without Bower-Asset
- kriss/yii2-advanced Yii2 advanced project template, Frontend for API and Backend with AdminLTE
- blackhive/yii2-app-advanced Yii 2 Advanced Project Template
- cliff363825/yii2-bower-asset Yii2 bower asset
- getdkan/recline recline.js module for DKAN/Drupal
- kptlex/popup-widget Popup Widget for Yii2
- kptlex/yii-cycle Cycle ORM adapter for Yii2.
- maiscrm/yii2-composer-bower-skip A Composer package that allows you to install or update Yii2 without Bower-Asset
- maniakalen/tags Yii2 Element tags integration module
- myzero1/yii2-app-advanced Yii 2 Advanced Project Template
- onyijne/ovy Onsen-UI 2 + Vue.js 2 + Yii2 Basic Project Template
- projectchina/yii2-app-advanced Yii 2 Advanced Project Template
... and 3 more.
Consider requiring one of these to satisfy the bower-asset/jquery requirement.
- yiisoft/yii2[2.0.7, ..., 2.0.8] require bower-asset/jquery 2.2.*@stable | 2.1.*@stable | 1.11.*@stable -> could not be found in any version, but the following packages provide it:
- craftcms/cms Craft CMS
- yidas/yii2-bower-asset Bower Assets for Yii 2 app provided via Composer repository
- yidas/yii2-composer-bower-skip A Composer package that allows you to install or update Yii2 without Bower-Asset
- jamband/yii2-schemadump Generate the schema from an existing database
- yidas/yii2-jquery jQuery Asset Bundle extension with fixed and CDN sources for Yii2 framework
- jamband/yii2-ensure-unique-behavior This extension insert unique identifier automatically for the Yii 2 framework
- taobig/php-helper A tool set for PHP projects
- demokn/yii2-composer-asset
- stiks/yii2-composer-bower-skip A Composer package that allows you to install or update Yii2 without Bower-Asset
- kriss/yii2-advanced Yii2 advanced project template, Frontend for API and Backend with AdminLTE
- blackhive/yii2-app-advanced Yii 2 Advanced Project Template
- cliff363825/yii2-bower-asset Yii2 bower asset
- getdkan/recline recline.js module for DKAN/Drupal
- kptlex/popup-widget Popup Widget for Yii2
- kptlex/yii-cycle Cycle ORM adapter for Yii2.
- maiscrm/yii2-composer-bower-skip A Composer package that allows you to install or update Yii2 without Bower-Asset
- maniakalen/tags Yii2 Element tags integration module
- myzero1/yii2-app-advanced Yii 2 Advanced Project Template
- onyijne/ovy Onsen-UI 2 + Vue.js 2 + Yii2 Basic Project Template
- projectchina/yii2-app-advanced Yii 2 Advanced Project Template
... and 3 more.
Consider requiring one of these to satisfy the bower-asset/jquery requirement.
- yiisoft/yii2[2.0.9, ..., 2.0.12.2] require bower-asset/jquery 2.2.*@stable | 2.1.*@stable | 1.11.*@stable | 1.12.*@stable -> could not be found in any version, but the following packages provide it:
- craftcms/cms Craft CMS
- yidas/yii2-bower-asset Bower Assets for Yii 2 app provided via Composer repository
- yidas/yii2-composer-bower-skip A Composer package that allows you to install or update Yii2 without Bower-Asset
- jamband/yii2-schemadump Generate the schema from an existing database
- yidas/yii2-jquery jQuery Asset Bundle extension with fixed and CDN sources for Yii2 framework
- jamband/yii2-ensure-unique-behavior This extension insert unique identifier automatically for the Yii 2 framework
- taobig/php-helper A tool set for PHP projects
- demokn/yii2-composer-asset
- stiks/yii2-composer-bower-skip A Composer package that allows you to install or update Yii2 without Bower-Asset
- kriss/yii2-advanced Yii2 advanced project template, Frontend for API and Backend with AdminLTE
- blackhive/yii2-app-advanced Yii 2 Advanced Project Template
- cliff363825/yii2-bower-asset Yii2 bower asset
- getdkan/recline recline.js module for DKAN/Drupal
- kptlex/popup-widget Popup Widget for Yii2
- kptlex/yii-cycle Cycle ORM adapter for Yii2.
- maiscrm/yii2-composer-bower-skip A Composer package that allows you to install or update Yii2 without Bower-Asset
- maniakalen/tags Yii2 Element tags integration module
- myzero1/yii2-app-advanced Yii 2 Advanced Project Template
- onyijne/ovy Onsen-UI 2 + Vue.js 2 + Yii2 Basic Project Template
- projectchina/yii2-app-advanced Yii 2 Advanced Project Template
... and 3 more.
Consider requiring one of these to satisfy the bower-asset/jquery requirement.
- yiisoft/yii2[2.0.13, ..., 2.0.15.1] require bower-asset/jquery 3.2.*@stable | 3.1.*@stable | 2.2.*@stable | 2.1.*@stable | 1.11.*@stable | 1.12.*@stable -> could not be found in any version, but the following packages provide it:
- craftcms/cms Craft CMS
- yidas/yii2-bower-asset Bower Assets for Yii 2 app provided via Composer repository
- yidas/yii2-composer-bower-skip A Composer package that allows you to install or update Yii2 without Bower-Asset
- jamband/yii2-schemadump Generate the schema from an existing database
- yidas/yii2-jquery jQuery Asset Bundle extension with fixed and CDN sources for Yii2 framework
- jamband/yii2-ensure-unique-behavior This extension insert unique identifier automatically for the Yii 2 framework
- taobig/php-helper A tool set for PHP projects
- demokn/yii2-composer-asset
- stiks/yii2-composer-bower-skip A Composer package that allows you to install or update Yii2 without Bower-Asset
- kriss/yii2-advanced Yii2 advanced project template, Frontend for API and Backend with AdminLTE
- blackhive/yii2-app-advanced Yii 2 Advanced Project Template
- cliff363825/yii2-bower-asset Yii2 bower asset
- getdkan/recline recline.js module for DKAN/Drupal
- kptlex/popup-widget Popup Widget for Yii2
- kptlex/yii-cycle Cycle ORM adapter for Yii2.
- maiscrm/yii2-composer-bower-skip A Composer package that allows you to install or update Yii2 without Bower-Asset
- maniakalen/tags Yii2 Element tags integration module
- myzero1/yii2-app-advanced Yii 2 Advanced Project Template
- onyijne/ovy Onsen-UI 2 + Vue.js 2 + Yii2 Basic Project Template
- projectchina/yii2-app-advanced Yii 2 Advanced Project Template
... and 3 more.
Consider requiring one of these to satisfy the bower-asset/jquery requirement.
- yiisoft/yii2[2.0.16, ..., 2.0.18] require bower-asset/jquery 3.3.*@stable | 3.2.*@stable | 3.1.*@stable | 2.2.*@stable | 2.1.*@stable | 1.11.*@stable | 1.12.*@stable -> could not be found in any version, but the following packages provide it:
- craftcms/cms Craft CMS
- yidas/yii2-bower-asset Bower Assets for Yii 2 app provided via Composer repository
- yidas/yii2-composer-bower-skip A Composer package that allows you to install or update Yii2 without Bower-Asset
- jamband/yii2-schemadump Generate the schema from an existing database
- yidas/yii2-jquery jQuery Asset Bundle extension with fixed and CDN sources for Yii2 framework
- jamband/yii2-ensure-unique-behavior This extension insert unique identifier automatically for the Yii 2 framework
- taobig/php-helper A tool set for PHP projects
- demokn/yii2-composer-asset
- stiks/yii2-composer-bower-skip A Composer package that allows you to install or update Yii2 without Bower-Asset
- kriss/yii2-advanced Yii2 advanced project template, Frontend for API and Backend with AdminLTE
- blackhive/yii2-app-advanced Yii 2 Advanced Project Template
- cliff363825/yii2-bower-asset Yii2 bower asset
- getdkan/recline recline.js module for DKAN/Drupal
- kptlex/popup-widget Popup Widget for Yii2
- kptlex/yii-cycle Cycle ORM adapter for Yii2.
- maiscrm/yii2-composer-bower-skip A Composer package that allows you to install or update Yii2 without Bower-Asset
- maniakalen/tags Yii2 Element tags integration module
- myzero1/yii2-app-advanced Yii 2 Advanced Project Template
- onyijne/ovy Onsen-UI 2 + Vue.js 2 + Yii2 Basic Project Template
- projectchina/yii2-app-advanced Yii 2 Advanced Project Template
... and 3 more.
Consider requiring one of these to satisfy the bower-asset/jquery requirement.
- yiisoft/yii2[2.0.19, ..., 2.0.35] require bower-asset/jquery 3.4.*@stable | 3.3.*@stable | 3.2.*@stable | 3.1.*@stable | 2.2.*@stable | 2.1.*@stable | 1.11.*@stable | 1.12.*@stable -> could not be found in any version, but the following packages provide it:
- craftcms/cms Craft CMS
- yidas/yii2-bower-asset Bower Assets for Yii 2 app provided via Composer repository
- yidas/yii2-composer-bower-skip A Composer package that allows you to install or update Yii2 without Bower-Asset
- jamband/yii2-schemadump Generate the schema from an existing database
- yidas/yii2-jquery jQuery Asset Bundle extension with fixed and CDN sources for Yii2 framework
- jamband/yii2-ensure-unique-behavior This extension insert unique identifier automatically for the Yii 2 framework
- taobig/php-helper A tool set for PHP projects
- demokn/yii2-composer-asset
- stiks/yii2-composer-bower-skip A Composer package that allows you to install or update Yii2 without Bower-Asset
- kriss/yii2-advanced Yii2 advanced project template, Frontend for API and Backend with AdminLTE
- blackhive/yii2-app-advanced Yii 2 Advanced Project Template
- cliff363825/yii2-bower-asset Yii2 bower asset
- getdkan/recline recline.js module for DKAN/Drupal
- kptlex/popup-widget Popup Widget for Yii2
- kptlex/yii-cycle Cycle ORM adapter for Yii2.
- maiscrm/yii2-composer-bower-skip A Composer package that allows you to install or update Yii2 without Bower-Asset
- maniakalen/tags Yii2 Element tags integration module
- myzero1/yii2-app-advanced Yii 2 Advanced Project Template
- onyijne/ovy Onsen-UI 2 + Vue.js 2 + Yii2 Basic Project Template
- projectchina/yii2-app-advanced Yii 2 Advanced Project Template
... and 3 more.
Consider requiring one of these to satisfy the bower-asset/jquery requirement.
- yiisoft/yii2[2.0.36, ..., 2.0.41] require bower-asset/jquery 3.5.*@stable | 3.4.*@stable | 3.3.*@stable | 3.2.*@stable | 3.1.*@stable | 2.2.*@stable | 2.1.*@stable | 1.11.*@stable | 1.12.*@stable -> could not be found in any version, but the following packages provide it:
- craftcms/cms Craft CMS
- yidas/yii2-bower-asset Bower Assets for Yii 2 app provided via Composer repository
- yidas/yii2-composer-bower-skip A Composer package that allows you to install or update Yii2 without Bower-Asset
- jamband/yii2-schemadump Generate the schema from an existing database
- yidas/yii2-jquery jQuery Asset Bundle extension with fixed and CDN sources for Yii2 framework
- jamband/yii2-ensure-unique-behavior This extension insert unique identifier automatically for the Yii 2 framework
- taobig/php-helper A tool set for PHP projects
- demokn/yii2-composer-asset
- stiks/yii2-composer-bower-skip A Composer package that allows you to install or update Yii2 without Bower-Asset
- kriss/yii2-advanced Yii2 advanced project template, Frontend for API and Backend with AdminLTE
- blackhive/yii2-app-advanced Yii 2 Advanced Project Template
- cliff363825/yii2-bower-asset Yii2 bower asset
- getdkan/recline recline.js module for DKAN/Drupal
- kptlex/popup-widget Popup Widget for Yii2
- kptlex/yii-cycle Cycle ORM adapter for Yii2.
- maiscrm/yii2-composer-bower-skip A Composer package that allows you to install or update Yii2 without Bower-Asset
- maniakalen/tags Yii2 Element tags integration module
- myzero1/yii2-app-advanced Yii 2 Advanced Project Template
- onyijne/ovy Onsen-UI 2 + Vue.js 2 + Yii2 Basic Project Template
- projectchina/yii2-app-advanced Yii 2 Advanced Project Template
... and 3 more.
Consider requiring one of these to satisfy the bower-asset/jquery requirement.
- Root composer.json requires yiisoft/yii2-apidoc ^2.1 -> satisfiable by yiisoft/yii2-apidoc[2.1.0, ..., 2.1.5].
Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.
- It's a private package and you forgot to add a custom repository to find it
Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
When I try to install this into my project (with minimal dependencies, just guzzle and phpunit) The following fails (and so does the update method:
composer require --prefer-dist yiisoft/yii2-apidoc
I get the following:
My
composer.json
is basically just this :