PHP wrapper for Splio CRM and router.
composer config repositories.splio-sdk vcs https://github.com/wamiz/splio-sdk.git
composer require common/splio-sdk:master
$config = array(
'domain' => 's3s.fr',
'universe' => SPLIO_UNVERSE_NAME,
'data' => array(
'key' => YOUR_API_DATA_KEY,
'version' => API_VERSION // 1.9
'sftp_host' => REMOTE_SPLIO_FTP_HOST
'sftp_port' => REMOTE_SPLIO_FTP_PORT
'sftp_username' => REMOTE_SPLIO_FTP_USERNAME
'sftp_password' => REMOTE_SPLIO_FTP_PASSWORD
),
'trigger' => array(
'key' => YOUR_API_TRIGGER_KEY,
'version' => API_VERSION // 1.9
),
'launch' => array(
'key' => YOUR_API_LAUNCH_KEY,
'version' => API_VERSION // 1.9
)
);
$sdk = new SplioSdk($config);