Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 1.31 KB

File metadata and controls

36 lines (24 loc) · 1.31 KB

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.