Geocoder icon indicating copy to clipboard operation
Geocoder copied to clipboard

Should have a "minimum-stability" description at documentation?

Open marcosfreitas opened this issue 4 years ago • 3 comments

So, In my very first install, my project has a "minimum-stability : stable" instruction into composer.json. It hurts the installation process of some (or all) dependencies, so I could not fix that changing to "dev" instead of "stable" and installing puli/composer-plugin, so I don't know what is the best approach here. Could anyone describe the necessary minimum-stability to use the Geocoder package and additional providers?

Bellow, it is my current composer.json dependencies:

{
    "name": "marcos/itcm-google-maps-interceptor-for-csv-importer",
    "type": "project",
    "require": {
        "geocoder-php/google-maps-provider": "^4.4",
        "php-http/guzzle6-adapter": "^2.0",
        "vlucas/phpdotenv": "^4.1"
    },
    "minimum-stability": "dev",
    "require-dev": {
        "symfony/var-dumper": "^5.0"
    }
}

marcosfreitas avatar May 19 '20 16:05 marcosfreitas

Thanks for your feedback @marcosfreitas !

It should work with "minimum-stability": "stable", I'll check why it doesn't !

jbelien avatar May 19 '20 16:05 jbelien

I removed "minimum-stability" instruction and added "php-http/message": "^1.8" and it worked. Why it's is necessary I don't know. geocoder-php/google-maps-provider failed to be instantiated without it but it is a dev dependency.

marcosfreitas avatar May 19 '20 16:05 marcosfreitas

any updates on this? having the same issue with all the providers

mrelliot69 avatar Sep 29 '22 15:09 mrelliot69