File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff 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
7979By 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
8290See [ the Geocoder documentation] ( http://geocoder-php.org/Geocoder/ ) for a list of available adapters and providers.
8391
You can’t perform that action at this time.
0 commit comments