An open API service indexing awesome lists of open source software.

https://github.com/postpayio/postpay-php

Postpay SDK for PHP
https://github.com/postpayio/postpay-php

api client graphql php postpay restful sdk

Last synced: 5 months ago
JSON representation

Postpay SDK for PHP

Awesome Lists containing this project

README

          


Latest Version Build Status Scrutinizer Coverage

# Postpay SDK for PHP

PHP library for [Postpay](https://postpay.io) API.

## Installation

The recommended way to install *postpay-php* is through [Composer](https://getcomposer.org/):

```sh
composer require postpay/postpay-php
```

After installing, you need to require Composer's autoloader:

```php
require 'vendor/autoload.php';
```

## Quickstart

All configs are passed around as a single variable `config`:

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

## Documentation

Fantastic documentation is available at [https://php.postpay.io](https://php.postpay.io).