ptondereau/google-address-converter

Small tools to convert Address from google maps API

1.0.0 2017-03-27 15:22 UTC

This package is auto-updated.

Last update: 2024-04-20 20:40:23 UTC


README

WIP comming soon

Latest Version on Packagist Software License Build Status Coverage Status Quality Score Total Downloads

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.