zhooravell / php-monobank
PHP client for Monobank open API
0.0.3
2023-06-22 12:46 UTC
Requires
- php: >=7.4
- ext-filter: *
- ext-json: *
- ext-mbstring: *
- guzzlehttp/guzzle: ^7.5
Requires (Dev)
- phpunit/phpunit: ^9.6
This package is auto-updated.
Last update: 2024-12-22 16:02:20 UTC
README
PHP client for Monobank open API
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())));