paydirectly/paydirectly-php

v1.1 2021-09-07 05:43 UTC

This package is auto-updated.

Last update: 2024-05-07 12:40:56 UTC


README

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.