Geocoder claims to support PSR-7 but requires a concrete implementation of PSR-7 in egeloen/http-adapter which in turn requires zendframework/zend-diactoros. This is not how PSR-7 is supposed to be used. The only requirement for PSR-7 compatible packages is psr/http-message and all request/response type hints should be against those interfaces.
This currently prevents me from using this package with Guzzle or any other implementation of PSR-7. If I were to install this package right now, I would have both Guzzle and Diactoros installed, implementing the exact same PSR-7 interfaces, which is exactly the situation that PSR-7 is supposed to allow us to avoid.
Geocoder claims to support PSR-7 but requires a concrete implementation of PSR-7 in
egeloen/http-adapterwhich in turn requireszendframework/zend-diactoros. This is not how PSR-7 is supposed to be used. The only requirement for PSR-7 compatible packages ispsr/http-messageand all request/response type hints should be against those interfaces.This currently prevents me from using this package with Guzzle or any other implementation of PSR-7. If I were to install this package right now, I would have both Guzzle and Diactoros installed, implementing the exact same PSR-7 interfaces, which is exactly the situation that PSR-7 is supposed to allow us to avoid.