brokeyourbike/mobifin-api-client

Mobifin API Client for PHP

0.1.1 2023-05-14 22:01 UTC

This package is auto-updated.

Last update: 2024-09-20 14:45:36 UTC


README

Latest Stable Version Total Downloads Maintainability Test Coverage

Mobifin API Client for PHP

Installation

composer require brokeyourbike/mobifin-api-client

Usage

use BrokeYourBike\Mobifin\EncryptedClient;
use BrokeYourBike\Mobifin\Interfaces\EncryptedConfigInterface;
use BrokeYourBike\Mobifin\Interfaces\EncrypterInterface;

assert($config instanceof ConfigInterface);
assert($encrypter instanceof EncrypterInterface);
assert($httpClient instanceof \GuzzleHttp\ClientInterface);

$apiClient = new Client($config, $encrypter, $httpClient);
$apiClient->getBalance();

Authors

License

Mozilla Public License v2.0