geocoder-extra icon indicating copy to clipboard operation
geocoder-extra copied to clipboard

Installation of geocoder-extra with ./composer failed

Open sheub opened this issue 7 years ago • 3 comments

Problem 1 - egeloen/http-adapter 0.7.0 requires phly/http dev-header-case-sensitivity as 0.11.x-dev -> no matching package found. - Conclusion: remove psr/http-message 1.0.1 - Conclusion: don't install psr/http-message 1.0.1 - willdurand/geocoder v3.0.0 requires egeloen/http-adapter 0.7.* -> satisfiable by egeloen/http-adapter[0.7.0, 0.7.1]. - willdurand/geocoder v3.0.0-alpha3 requires egeloen/http-adapter 0.5.* -> satisfiable by egeloen/http-adapter[0.5.0]. - egeloen/http-adapter 0.7.1 requires phly/http ^0.11.2 -> satisfiable by phly/http[0.11.2, 0.11.3]. - egeloen/http-adapter 0.5.0 requires psr/http-message ~0.5.0 -> satisfiable by psr/http-message[0.5.0, 0.5.1]. - phly/http 0.11.2 requires psr/http-message ^0.9 -> satisfiable by psr/http-message[0.9.0, 0.9.1, 0.9.2]. - phly/http 0.11.3 requires psr/http-message ^0.9 -> satisfiable by psr/http-message[0.9.0, 0.9.1, 0.9.2]. - Can only install one of: psr/http-message[0.5.0, 1.0.1]. - Can only install one of: psr/http-message[0.5.1, 1.0.1]. - Can only install one of: psr/http-message[0.9.0, 1.0.1]. - Can only install one of: psr/http-message[0.9.1, 1.0.1]. - Can only install one of: psr/http-message[0.9.2, 1.0.1]. - Installation request for psr/http-message (locked at 1.0.1) -> satisfiable by psr/http-message[1.0.1]. - Installation request for geocoder-php/geocoder-extra ^2.1 -> satisfiable by geocoder-php/geocoder-extra[2.1.0]. - Conclusion: don't install willdurand/geocoder 4.2.0|install willdurand/geocoder v3.0.0|install willdurand/geocoder v3.0.0-alpha3 - Conclusion: remove willdurand/geocoder 4.2.0|install willdurand/geocoder v3.0.0|install willdurand/geocoder v3.0.0-alpha3 - geocoder-php/geocoder-extra 2.1.0 requires willdurand/geocoder ^3.0 -> satisfiable by willdurand/geocoder[v3.0.0, v3.0.0-alpha1, v3.0.0-alpha2, v3.0.0-alpha3, v3.1.0, v3.2.0, v3.3.0, v3.3.1, v3.3.2]. - Can only install one of: willdurand/geocoder[v3.0.0-alpha1, 4.2.0]. - Can only install one of: willdurand/geocoder[v3.0.0-alpha2, 4.2.0]. - Can only install one of: willdurand/geocoder[v3.1.0, 4.2.0]. - Can only install one of: willdurand/geocoder[v3.2.0, 4.2.0]. - Can only install one of: willdurand/geocoder[v3.3.0, 4.2.0]. - Can only install one of: willdurand/geocoder[v3.3.1, 4.2.0]. - Can only install one of: willdurand/geocoder[v3.3.2, 4.2.0]. - Installation request for willdurand/geocoder (locked at 4.2.0) -> satisfiable by willdurand/geocoder[4.2.0].

sheub avatar Apr 11 '18 09:04 sheub

Consider using this geocoder instead: https://github.com/geocoder-php/Geocoder

If you really really need a provider in this repo, please consider porting it to https://github.com/geocoder-php/Geocoder or install a egeloen/http-adapter

Nyholm avatar Apr 11 '18 09:04 Nyholm

Hi Nyholm, I have ported the Here Provider (mostly inspired from the GoogleMaps and BingMaps providers). I have run the PHP-CS-Fixer tool but I haven't managed to run the Tests as indicated in the Contributing.mb. I would be happy to add my contribution to geocoder-php. How should I proceed?

sheub avatar Apr 15 '18 12:04 sheub

That is awesome. Make a pull request and we can work together. It does not matter if the code is not perfect or if the tests does run at first.

Nyholm avatar Apr 15 '18 12:04 Nyholm