PHP library for paydirectly API.
The recommended way to install paydirectly-php is through Composer:
composer require paydirectly/paydirectly-php
After installing, you need to require Composer's autoloader:
require 'vendor/autoload.php';
All configs are passed around as a single variable config
:
$paydirectly = new \paydirectly\paydirectly([
'merchant_id' => 'id_ ...',
'secret_key' => 'sk_live_ ...',
]);
Fantastic documentation is available at https://php.paydirectly.io.