cloudflare-php icon indicating copy to clipboard operation
cloudflare-php copied to clipboard

update to php 8.3

Open alireza-hnzpv opened this issue 9 months ago • 0 comments

hello, i want to use this package for laravel. but i have an error with this detail.

 composer require cloudflare/sdk
./composer.json has been updated
Running composer update cloudflare/sdk
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - cloudflare/sdk[dev-dependabot/composer/guzzlehttp/guzzle-6.5.8, dev-master, 1.1.7, ..., 1.3.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.
    - cloudflare/sdk[dev-revert-49-add-priority-for-dns-creation, 0.9.1, 1.0.0, ..., 1.1.6] require guzzlehttp/guzzle ^6.2.2 -> found guzzlehttp/guzzle[6.2.2, ..., 6.5.x-dev] but it conflicts with your root composer.json require (^7.2).
    - Root composer.json requires cloudflare/sdk * -> satisfiable by cloudflare/sdk[dev-dependabot/composer/guzzlehttp/guzzle-6.5.8, dev-master, dev-revert-49-add-priority-for-dns-creation, 0.9.1, 1.0.0, ..., 1.3.0, 9999999-dev].

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 cloudflare/sdk:*" to figure out if any version is installable, or "composer require cloudflare/sdk:^2.1" if you know which you need.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

alireza-hnzpv avatar May 25 '24 07:05 alireza-hnzpv