ptondereau / google-address-converter
Small tools to convert Address from google maps API
1.0.0
2017-03-27 15:22 UTC
Requires
- php: ~5.6|~7.0
- guzzlehttp/psr7: ^1.4
- php-http/client-common: ^1.4
- php-http/curl-client: ^1.7
- php-http/discovery: ^1.2
- php-http/httplug: ^1.1
- php-http/message: ^1.5
- php-http/message-factory: ^1.0
Requires (Dev)
- php-http/mock-client: ^1.0
- phpunit/phpunit: ~4.0||~5.0
This package is auto-updated.
Last update: 2024-12-20 22:17:39 UTC
README
WIP comming soon
Install
Via Composer
$ composer require ptondereau/google-address-converter
Usage
// Create client $apiKey = 'xxxxx'; $googleConverter = new GoogleMapsClient($api); // Create address to convert $address = new Address(); $address->setAddressLine1('address1') ->setAddressLine2('address2') ->setAddressLine3('address3') ->setCity('city') ->setZipCode('zipCode'); // Get Lat and long $googleConverter->getLatLong($address);
Change log
Please see CHANGELOG for more information on what has changed recently.
Testing
$ composer test
Contributing
Please see CONTRIBUTING and CONDUCT for details.
Security
If you discover any security related issues, please email pierre.tondereau@gmail.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.