zhooravell/php-monobank

PHP client for Monobank open API

0.0.3 2023-06-22 12:46 UTC

This package is auto-updated.

Last update: 2024-04-22 14:28:15 UTC


README

PHP client for Monobank open API

License Build Status codecov scrutinizer intelligence

Examples

<?php

include 'vendor/autoload.php';

use GuzzleHttp\Client;
use Monobank\MonobankClient;
use Monobank\ValueObject\Token;

$httpClient = new Client();
$token = new Token('...');
$client = new MonobankClient($httpClient, $token);

var_dump($client->getExchangeRates());

var_dump($client->getClientInfo());

var_dump($client->getPersonalStatement(new PersonalStatementRequest(new DateTime('2019-06-20'), new DateTime())));

Source(s)