postpay/postpay-php

Postpay SDK for PHP

0.1.1 2021-06-14 10:24 UTC

This package is auto-updated.

Last update: 2024-04-20 15:04:25 UTC


README

Latest Version Build Status Scrutinizer Coverage

Postpay SDK for PHP

PHP library for Postpay API.

Installation

The recommended way to install postpay-php is through Composer:

composer require postpay/postpay-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:

$postpay = new \Postpay\Postpay([
    'merchant_id' => 'id_ ...',
    'secret_key' => 'sk_live_ ...',
]);

Documentation

Fantastic documentation is available at https://php.postpay.io.