xfers / xfers-php
Xfers PHP Bindings
Installs: 7 022
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 29
Forks: 1
Open Issues: 1
Requires
- php: >=5.3.3
- ext-curl: *
- ext-json: ^1.2
This package is not auto-updated.
Last update: 2022-01-17 01:08:44 UTC
README
You can sign up for a Xfers account at https://xfers.io.
Requirements
PHP 5.3.3 and later.
Composer
You can install the bindings via Composer. Run the following command:
composer require xfers/xfers-php
To use the bindings, use Composer's autoload:
require_once('vendor/autoload.php');
Manual Installation
If you do not wish to use Composer, you can download the latest release. Then, to use the bindings, include the init.php
file.
require_once('/path/to/xfers-php/init.php');
Dependencies
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
- [
ca-certificate
]
Installed via:
apt-get install ca-certificates
Getting Started
Simple usage looks like:
\Xfers\Xfers::setApiKey('ENfbme3sus9EjgzXDHoV8W9-MXPj25e4udYst2CGync'); \Xfers\Xfers::setSGSandbox(); $resp = \Xfers\User::retrieve(); print_r($resp);
Documentation
Please see http://docs.xfers.io/ for up-to-date documentation.