$ composer require barryvdh/elfinder-flysystem-driver
Warning: This development build of composer is over 30 days old. It is recommended to update it by running "/usr/bin/composer self-update" to get the latest version.
Using version 0.2.* for barryvdh/elfinder-flysystem-driver
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
[RuntimeException]
Could not load package intervention/image in http://packagist.org: [UnexpectedValueException] Could not parse version constraint 4.x.x: Invalid version string "4.x.x"
[UnexpectedValueException]
Could not parse version constraint 4.x.x: Invalid version string "4.x.x"
$ composer require barryvdh/elfinder-flysystem-driver Warning: This development build of composer is over 30 days old. It is recommended to update it by running "/usr/bin/composer self-update" to get the latest version. Using version 0.2.* for barryvdh/elfinder-flysystem-driver ./composer.json has been updated Loading composer repositories with package information Updating dependencies (including require-dev)
[RuntimeException]
Could not load package intervention/image in http://packagist.org: [UnexpectedValueException] Could not parse version constraint 4.x.x: Invalid version string "4.x.x"
[UnexpectedValueException]
Could not parse version constraint 4.x.x: Invalid version string "4.x.x"
require [--dev] [--prefer-source] [--prefer-dist] [--no-progress] [--no-update] [--update-no-dev] [--update-with-dependencies] [--ignore-platform-reqs] [--sort-packages] [packages1] ... [packagesN]