Western Union API Client for PHP
composer require brokeyourbike/western-union-api-client
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();
- Ivan Stasiuk | Twitter | LinkedIn | stasi.uk