bash-5.1# composer require 'drupal/elasticsearch_connector:^7.0@alpha'
./composer.json has been updated
Running composer update drupal/elasticsearch_connector
Loading composer repositories with package information
Info from https://repo.packagist.org: #StandWithUkraine
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- drupal/elasticsearch_connector[7.0.0-alpha1, ..., 7.0.0-alpha3] require nodespark/des-connector 7.x-dev -> found nodespark/des-connector[7.x-dev] but it does not match your minimum-stability.
- Root composer.json requires drupal/elasticsearch_connector ^7.0@alpha -> satisfiable by drupal/elasticsearch_connector[7.0.0-alpha1, 7.0.0-alpha2, 7.0.0-alpha3].
Edit this file
/var/www/html/composer.json
changing "minimum-stability": "stable",
to "minimum-stability": "dev",
35 "conflict": {
36 "drupal/drupal": "*"
37 },
38 "minimum-stability": "dev",
39 "prefer-stable": true,
40 "config": {
41 "allow-plugins": {
42 "composer/installers": true,
43 "drupal/core-composer-scaffold": true,
44 "drupal/core-project-message": true,
45 "dealerdirect/phpcodesniffer-composer-installer": true
46 },
47 "sort-packages": true
48 },
bash-5.1# composer require 'drupal/elasticsearch_connector:^7.0@alpha'
./composer.json has been updated
Running composer update drupal/elasticsearch_connector
Loading composer repositories with package information
Updating dependencies
Lock file operations: 9 installs, 0 updates, 0 removals
- Locking drupal/elasticsearch_connector (7.0.0-alpha3)
- Locking elasticsearch/elasticsearch (v7.17.0)
- Locking ezimuel/guzzlestreams (3.0.1)
- Locking ezimuel/ringphp (1.2.0)
- Locking makinacorpus/php-lucene (1.1.0)
- Locking nodespark/des-connector (7.x-dev 4b1dcd3)
- Locking nyholm/dsn (2.0.1)
- Locking react/promise (v2.9.0)
- Locking ruflin/elastica (dev-master 878acd2)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 9 installs, 0 updates, 0 removals
- Downloading nyholm/dsn (2.0.1)
- Downloading react/promise (v2.9.0)
- Downloading ezimuel/guzzlestreams (3.0.1)
- Downloading ezimuel/ringphp (1.2.0)
- Downloading elasticsearch/elasticsearch (v7.17.0)
- Downloading ruflin/elastica (dev-master 878acd2)
- Downloading nodespark/des-connector (7.x-dev 4b1dcd3)
- Downloading makinacorpus/php-lucene (1.1.0)
- Downloading drupal/elasticsearch_connector (7.0.0-alpha3)
- Installing nyholm/dsn (2.0.1): Extracting archive
- Installing react/promise (v2.9.0): Extracting archive
- Installing ezimuel/guzzlestreams (3.0.1): Extracting archive
- Installing ezimuel/ringphp (1.2.0): Extracting archive
- Installing elasticsearch/elasticsearch (v7.17.0): Extracting archive
- Installing ruflin/elastica (dev-master 878acd2): Extracting archive
- Installing nodespark/des-connector (7.x-dev 4b1dcd3): Extracting archive
- Installing makinacorpus/php-lucene (1.1.0): Extracting archive
- Installing drupal/elasticsearch_connector (7.0.0-alpha3): Extracting archive
3 package suggestions were added by new dependencies, use `composer suggest` to see details.
Package doctrine/reflection is abandoned, you should avoid using it. Use roave/better-reflection instead.
Package symfony/debug is abandoned, you should avoid using it. Use symfony/error-handler instead.
Package webmozart/path-util is abandoned, you should avoid using it. Use symfony/filesystem instead.
Generating autoload files
50 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
bash-5.1# composer require 'drupal/search_api:^1.25'
./composer.json has been updated
Running composer update drupal/search_api
Loading composer repositories with package information
Updating dependencies
Nothing to modify in lock file
Installing dependencies from lock file (including require-dev)
Nothing to install, update or remove
Package doctrine/reflection is abandoned, you should avoid using it. Use roave/better-reflection instead.
Package symfony/debug is abandoned, you should avoid using it. Use symfony/error-handler instead.
Package webmozart/path-util is abandoned, you should avoid using it. Use symfony/filesystem instead.
Generating autoload files
50 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
After, change
"minimum-stability": "dev",
to "minimum-stability": "stable",