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:
77
77
* ` geocoder.adapter ` : the HTTP adapter used to get data from remotes APIs.
78
78
79
79
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
+ ```
81
89
82
90
See [ the Geocoder documentation] ( http://geocoder-php.org/Geocoder/ ) for a list of available adapters and providers.
83
91
You can’t perform that action at this time.
0 commit comments