Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 1.44 KB

README.md

File metadata and controls

33 lines (23 loc) · 1.44 KB

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