Skip to content

Commit b1cd38a

Browse files
committed
update doc
1 parent e7d7d28 commit b1cd38a

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

README.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,15 @@ The service provider creates the following services:
7777
* `geocoder.adapter`: the HTTP adapter used to get data from remotes APIs.
7878

7979
By default, the `geocoder.provider` service uses FreeGeoIP and the `geocoder.adapter` service uses the cURL adapter.
80-
Override these services to use the adapter/provider you want.
80+
Override these services to use the adapter/provider you want by editing
81+
`app/config/packages/toin0u/geocoder-laravel/config.php`:
82+
83+
```php
84+
return array(
85+
'provider' => 'Geocoder\Provider\GoogleMapsProvider',
86+
'adapter' => 'Geocoder\HttpAdapter\CurlHttpAdapter'
87+
);
88+
```
8189

8290
See [the Geocoder documentation](http://geocoder-php.org/Geocoder/) for a list of available adapters and providers.
8391

0 commit comments

Comments
 (0)