In your composer change version of guzzle to
"guzzlehttp/guzzle": "^6.3",
then I think it will work.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hello,
I have some problems with installing a package, that I would like to share with you.
Here is the command
composer require modelizer/selenium "~2.0"
Then I get this;
./composer.json has been updated
Running composer update modelizer/selenium
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- modelizer/selenium[v2.0, ..., v2.0.2] require guzzlehttp/guzzle ^6.2 -> found guzzlehttp/guzzle[6.2.0, ..., 6.5.x-dev] but it conflicts with your root composer.json require (^7.0.1).
- Root composer.json requires modelizer/selenium ~2.0 -> satisfiable by modelizer/selenium[v2.0, v2.0.1, v2.0.2].
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
Fine, it tells me to command something like this;
composer require modelizer/selenium "~2.0" --with-all-dependencies (-W)
I do. Then it returns this:
[InvalidArgumentException]
Could not find a matching version of package (-W). Check the package spelling, your version constraint and that the
package is available in a stability which matches your minimum-stability (dev).
Might be simple for you. But hard for me to solve. Do you have any idea?
Please or to participate in this conversation.