Skip to content

zhooravell/php-monobank

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Monobank open API client

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)