Download the PHP package teamzac/geocoder without Composer
On this page you can find all versions of the php package teamzac/geocoder. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download teamzac/geocoder
More information about teamzac/geocoder
Files in teamzac/geocoder
Package geocoder
Short Description A simple wrapper about Google's geocoding and direction services
License MIT
Informations about the package geocoder
A lightweight wrapper around the Google Maps geocoding service
Installation
You can install the package via composer:
Usage
This package uses Laravel's autodiscovery feature, so you do not have to manually add the service provider.
You can publish the config file if you'd like, or simply add the following to your .env file:
The class can be resolved from the container, or you can use the facade. There are two primary methods on this class:
Both methods will return an instance of , or throw an exception if no results were found.
The class is a simple data transfer object that makes it more convenience to access information about the response.
For a full list of available methods, just check out the class' implementation.
Testing
You'll want to copy the file as and add your Google Maps API key to enable testing.
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
All versions of geocoder with dependencies
illuminate/console Version ^7.0|^8.0
illuminate/support Version ^7.0|^8.0
guzzlehttp/guzzle Version ^6.0|^7.0.1