/smartystreets

A smarty streets international location verification service

Primary LanguagePHPMIT LicenseMIT

SmartyStreets for PHP

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

smartystreets is the SDK for working with SmartyStreets service.

Install

Via Composer

$ composer require gliterd/smartystreets

Change log

Please see CHANGELOG for more information what has changed recently.

Testing

$ composer test

How to use it?

<?php

require_once('vendor/autoload.php');

use \SmartyStreets\Service;

$service = new Service('your-auth-id', 'your-auth-token');

$location = $service->getInspectedLocation([
    'street'        => 'Vulkanstrasse',
    'street_number' => '106',
    'place'         => 'Zurich',
    'postal_code'   => '8010',
]);

Contributing

Please see CONTRIBUTING and CONDUCT for details.

Security

If you discover any security related issues, please email mhetreramesh@gmail.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.