paydirectly / paydirectly-php
paydirectly SDK for PHP
v1.1
2021-09-07 05:43 UTC
Requires
- php: >=5.6
Requires (Dev)
- phpunit/phpunit: ^4.8.35 || ^5.7 || ^6.4 || ^7.0
- squizlabs/php_codesniffer: *
Suggests
- guzzlehttp/guzzle: Required for using Guzzle HTTP client
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.