geocoder-php / GeocoderLaravel

Geocoder service provider for Laravel
http://geocoder-php.org/GeocoderLaravel/
MIT License
701 stars 102 forks source link

Can not install "google-maps-provider" because if requirements php ^7.0 -> your php version (8.1.13) #195

Open Ngozistephen opened 1 year ago

Ngozistephen commented 1 year ago

General Information

GeocoderLaravel Version: Laravel Version: "^10.8" PHP Version: "^8.1" Operating System and Version: Windows

Issue Description

[I'm trying to install geocoder-php/google-maps-provider, but I can't. I have these errors : Problem 1

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

Steps to Replicate

[please provide a list of specific steps that will allow me to replicate this issue]

Stack Trace

[if an error is occuring, provide the complete stack trace here]

m15studio commented 1 year ago

I have same issue with MacOS and Laravel Version 10.18.0
PHP Version 8.1.11
Composer Version 2.4.3

Errors retrieved

Your requirements could not be resolved to an installable set of packages.

Problem 1

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

m15studio commented 1 year ago

I resolved problem by delete composer.lock file and after did it I launch composer update