PHP SDK for EZ Locate API v1
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
LICENSE
README.md
composer.json

README.md

EZ Locate PHP SDK

PHP SDK for EZ Locate API.

Installation

$ composer require ezlocate/ezlocate-php-sdk

Usage

use \EZLocate\EZLocate;
use \EZLocate\Order;

const EZL_USERNAME = 'YOUR_EZL_USERNAME';
const EZL_ACCESS_TOKEN = 'YOUR_EZL_ACCESS_TOKEN';

$ezl = new EZLocate(EZL_USERNAME, EZL_ACCESS_TOKEN);

$data = [
    'person' => [
        'firstname' => 'John',
        'lastname' => 'Doe',
        'ssn' => 'XXXX'
    ]
];

$order = $ezl->createOrder($data);
print_r($order);

License

Released under the MIT License. See LICENSE file.