brokeyourbike / pixpayment-api-client-php

Pixel Payment API Client for PHP

Home Page:https://developer.pixpayment.net/docs/index.html

Repository from Github https://github.combrokeyourbike/pixpayment-api-client-phpRepository from Github https://github.combrokeyourbike/pixpayment-api-client-php

pixpayment-api-client-php

Latest Stable Version Total Downloads

PixPayment API Client for PHP

Installation

composer require brokeyourbike/pixpayment-api-client

Usage

use BrokeYourBike\PixPayment\Client;
use BrokeYourBike\PixPayment\Interfaces\ConfigInterface;

assert($config instanceof ConfigInterface);
assert($httpClient instanceof \GuzzleHttp\ClientInterface);
assert($psrCache instanceof \Psr\SimpleCache\CacheInterface);

$apiClient = new Client($config, $httpClient, $psrCache);
$apiClient->getAuthToken();

Authors

License

BSD-3-Clause License

About

Pixel Payment API Client for PHP

https://developer.pixpayment.net/docs/index.html

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:PHP 97.7%Language:Dockerfile 2.3%