CurrencyCloud / currencycloud-php

MIT License
15 stars 38 forks source link

Installing in Laravel 11 #168

Open oladejihenry opened 2 days ago

oladejihenry commented 2 days ago

I try installing the package in laravel 11 and i see this error

 Problem 1
    - Root composer.json requires currency-cloud/client * -> satisfiable by currency-cloud/client[v0.7.0, ..., v0.24.1, v1.0.1, ..., v1.11.2, v2.0.1, v2.1.2, v2.2.1, v3.0.0, ..., v3.9.0].
    - currency-cloud/client[v0.7.0, ..., v0.24.1, v1.0.1, ..., v1.11.2, v2.0.1, ..., v2.2.1] require guzzlehttp/guzzle ~6.1 -> found guzzlehttp/guzzle[6.1.0, ..., 6.5.8] but the package is fixed to 7.9.2 (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.
    - currency-cloud/client[v3.0.0, ..., v3.1.0] require symfony/yaml ^2.7||^3.0||^4.0 -> found symfony/yaml[v2.7.0, ..., v2.8.52, v3.0.0, ..., v3.4.47, v4.0.0, ..., v4.4.45] but the package is fixed to v7.1.5 (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.
    - currency-cloud/client[v3.2.0, ..., v3.3.1] require symfony/yaml ^2.7||^3.0||^4.0||^5.0 -> found symfony/yaml[v2.7.0, ..., v2.8.52, v3.0.0, ..., v3.4.47, v4.0.0, ..., v4.4.45, v5.0.0, ..., v5.4.44] but the package is fixed to v7.1.5 (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.
    - currency-cloud/client[v3.4.0, ..., v3.9.0] require symfony/yaml ^2.7||^3.0||^4.0||^5.0||^6.0 -> found symfony/yaml[v2.7.0, ..., v2.8.52, v3.0.0, ..., v3.4.47, v4.0.0, ..., v4.4.45, v5.0.0, ..., v5.4.44, v6.0.0, ..., v6.4.12] but the package is fixed to v7.1.5 (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.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require currency-cloud/client:*" to figure out if any version is installable, or "composer require currency-cloud/client:^2.1" if you know which you need.