alexpechkarev / google-geocoder

Google Geocoder API v3 for Laravel
MIT License
74 stars 13 forks source link

Hard dependency for cURL not listed in composer.json #4

Closed PerfectionIS closed 9 years ago

PerfectionIS commented 9 years ago

This package requires PHP cURL to be installed in order for it to work, but it is not mentioned anywhere in the documentation or composer.json*. Also, there is a slight error in the documentation. The line:

$reponse = Geocoder::geocode('json', $param);

Should be:

$reponse = \Geocoder::geocode('json', $param);

*https://github.com/alexpechkarev/google-geocoder/blob/master/composer.json

alexpechkarev commented 9 years ago

Hi PerfectionIS.

Many thanks for pointing out, dependency and usage examples have been amended. Regards, Alexander