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
How to Allow Remote Access to My Wamp Server for Mobile(Android)
PHP Jquery Ajax Call Throws Net::Err_Empty_Response
How to Include Config.PHP Efficiently
Work-Around for PHP5's Pdo Rowcount MySQL Issue
Which Is the Best Character Encoding for Japanese Language for Db, PHP, and HTML Display
Laravel Polymorphic Relations Has Many Through
Accented Characters in MySQL Table
Backup a MySQL Database and Download as a File
How to Get the Home Directory from a PHP Cli Script
How to Get PHP, Symlinks and _File_ to Work Together Nicely
How to Convert a String to an Array in PHP
How to Create Thumbnails or Preview for Videos
Split an Array into N Arrays - PHP