Paydirectly SDK for PHP
PHP library for paydirectly API.
Installation
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';
Quickstart
All configs are passed around as a single variable config
:
$paydirectly = new \paydirectly\paydirectly([
'merchant_id' => 'id_ ...',
'secret_key' => 'sk_live_ ...',
]);
Documentation
Fantastic documentation is available at https://php.paydirectly.io.