You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to install the package on a PHP Laravel application (local on a Mac). I tried to run
composer require mailersend/mailersend
unfortunately I got this...
Your requirements could not be resolved to an installable set of packages.
Problem 1
- mailersend/mailersend[v0.1.0, ..., v0.1.1] require php ^7.4 -> your php version (8.2.4) does not satisfy that requirement.
- mailersend/mailersend[v0.2, ..., v0.11.0] require psr/http-message ^1.0 -> found psr/http-message[1.0, 1.0.1, 1.1] but the package is fixed to 2.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
- Root composer.json requires mailersend/mailersend * -> satisfiable by mailersend/mailersend[v0.1.0, ..., v0.11.0].
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require mailersend/mailersend:*" to figure out if any version is installable, or "composer require mailersend/mailersend:^2.1" if you know which you need.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
Then I checked for the newest version and I run
composer require mailersend/mailersend:^0.11
it gave me this:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires mailersend/mailersend ^0.11 -> satisfiable by mailersend/mailersend[v0.11.0].
- mailersend/mailersend v0.11.0 requires psr/http-message ^1.0 -> found psr/http-message[1.0, 1.0.1, 1.1] but the package is fixed to 2.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
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.
Finally I ran
composer require mailersend/mailersend:^0.11 -W
and got
Your requirements could not be resolved to an installable set of packages.
Problem 1
- symfony/symfony[v5.4.16, ..., v5.4.25] require psr/container ^1.1.1 -> found psr/container[1.1.1, 1.1.2] but these were not loaded, likely because it conflicts with another require.
- mailersend/mailersend v0.11.0 requires symfony/symfony ^5.4.16 -> satisfiable by symfony/symfony[v5.4.16, ..., v5.4.25].
- Root composer.json requires mailersend/mailersend ^0.11 -> satisfiable by mailersend/mailersend[v0.11.0].
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
Any ideas what should I do?
Thanks
The text was updated successfully, but these errors were encountered:
Summary
I'm trying to install the package on a PHP Laravel application (local on a Mac). I tried to run
composer require mailersend/mailersend
unfortunately I got this...
Then I checked for the newest version and I run
composer require mailersend/mailersend:^0.11
it gave me this:
Finally I ran
composer require mailersend/mailersend:^0.11 -W
and got
Any ideas what should I do?
Thanks
The text was updated successfully, but these errors were encountered: