ptondereau / google-address-converter
Small tools to convert Address from google maps API
Installs: 6
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 3
Forks: 0
Open Issues: 0
pkg:composer/ptondereau/google-address-converter
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: 2025-09-20 23:58:21 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.