Xfers PHP bindings
You can sign up for a Xfers account at https://xfers.io.
PHP 5.3.3 and later.
You can install the bindings via Composer. Run the following command:
composer require xfers/xfers-php
To use the bindings, use Composer's autoload:
If you do not wish to use Composer, you can download the latest release. Then, to use the bindings, include the
The bindings require the following extension in order to work properly:
If you use Composer, these dependencies should be handled automatically. If you install manually, you'll want to make sure that these extensions are available.
You may need to install the following cretificates to use the SDK
apt-get install ca-certificates
Simple usage looks like:
\Xfers\Xfers::setApiKey('ENfbme3sus9EjgzXDHoV8W9-MXPj25e4udYst2CGync'); \Xfers\Xfers::setSGSandbox(); $resp = \Xfers\User::retrieve(); print_r($resp);
Please see http://docs.xfers.io/ for up-to-date documentation.