Skip to content

brokeyourbike/western-union-api-client-php

Repository files navigation

western-union-api-client

Latest Stable Version Total Downloads Maintainability Test Coverage

Western Union API Client for PHP

Installation

composer require brokeyourbike/western-union-api-client

Usage

use BrokeYourBike\WesternUnion\Client;
use BrokeYourBike\WesternUnion\Interfaces\ConfigInterface;

assert($config instanceof ConfigInterface);
assert($httpClient instanceof \GuzzleHttp\ClientInterface);

$apiClient = new Client($config, $httpClient);
$apiClient->ping();

Authors

License

Mozilla Public License v2.0