But These Conflict with Your Requirements or Minimum-Stability

Composer: conflict with your requirements or minimum-stability

Create a composer.json file with minimum-stability specified:

{
"require": {
"phpseclib/mcrypt_compat": "dev-master"
},
"minimum-stability": "dev"
}

http://getcomposer.org/doc/04-schema.md#minimum-stability

The minimum stability defaults to stable if not specified.

Composer - conflict with your requirements or minimum-stability

aloha/twilio is not the problem.
You have a conflict with packages aws/aws-sdk-php and league/flysystem-aws-s3-v3.

Laravel/nexmo conflict with elasticsearch/elasticsearch your requirements or minimum-stability

locked at v7.3.0, required as 7.0.2 sounds as if your composer.lock and composer.json files are out of sync. Try deleting composer.lock and your vendor/ directory (if it exists), and do composer install.

If that works, update your composer.json to require the correct version of Elasticsearch you need. composer update elasticsearch/elasticsearch:^7.3 should probably work to do that.

How to resolve the Composer dependencies conflicts (a clean way)?

You are already using multiple versions of Symfony packages in your composer.json, like:

    "symfony/asset": "5.0.*",
"symfony/console": "5.0.*",
"symfony/debug-bundle": "5.0.*",
"symfony/dotenv": "5.0.*",
"symfony/framework-bundle": "5.0.*",
"symfony/routing": "5.1.*",
"symfony/yaml": "5.0.*"

You should clean that up to avoid incompatible packages. Do this either by using Flex, or by setting all package versions by hand


Usage of Flex

Set all Symfony related dependencies to "*", configure the Symfony version like this:

"extra": {
"symfony": {
"require": "5.2.*"
}
},

Afterwards, update the Symfony dependencies through composer update "symfony/*".

Any later upgrade to the next version requires only a single change in this section.


"Manual" configuration

Set all Symfony related dependencies to "5.2.*", update them through composer update "symfony/*"



Related Topics



Leave a reply



Submit