gliterd / smartystreets
PHP SDK smarty street international client API
1.0.1
2018-09-07 18:30 UTC
Requires
- php: >=5.5.0
- guzzlehttp/guzzle: ^6.1
Requires (Dev)
- phpunit/phpunit: 4.8.*
- scrutinizer/ocular: ~1.1
- squizlabs/php_codesniffer: ~2.3
This package is auto-updated.
Last update: 2024-11-29 06:09:44 UTC
README
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.