Open ponasromas opened 1 year ago
Installation requires implementation of the virtual package psr/http-client-implementation or more precisely any implementation of PSR-17 and PSR-18
As indicated in the log:
usarise/turnstile[v0.1.0, ..., v0.4.1] require psr/http-client-implementation ^1.0 -> could not be found in any version, but the following packages provide it:
- guzzlehttp/guzzle Guzzle is a PHP HTTP client library
- symfony/http-client Provides powerful methods to fetch HTTP resources synchronously or asynchronously
- php-http/discovery Finds and installs PSR-7, PSR-17, PSR-18 and HTTPlug implementations ... and more.
Consider requiring one of these to satisfy the psr/http-client-implementation requirement.
Examples for the first two packages: https://github.com/usarise/turnstile-php#guzzle-http-client https://github.com/usarise/turnstile-php#symfony-http-client-and-nyholm-psr-7
UPD: From version 0.5.0 also installation requires implementation of the virtual package psr/http-factory-implementation
composer require usarise/turnstile:*
./composer.json has been updated Running composer update usarise/turnstile Loading composer repositories with package information Updating dependencies Your requirements could not be resolved to an installable set of packages.
Problem 1
Potential causes: