- PHP >=7.2
- ext-json
- ext-curl
Via Composer
$ composer require iillexial/php-monobank-api
See examples for more.
$monobank = new Monobank\Monobank('token');
$statements = $monobank->personal->getStatements('account_id', new DateTime());
$monobank = new Monobank\Monobank('token');
$clientInfo = $monobank->personal->getClientInfo();
$monobank = new Monobank\Monobank('token');
$clientInfo = $monobank->personal->setWebhook('url here');
$monobank = new Monobank\Monobank('token');
$clientInfo = $monobank->personal->deleteWebhook();
$monobank = new Monobank\Monobank();
$rates = $monobank->bank->getCurrencyRates();
Just run:
$ composer test
The MIT License (MIT). Please see License File for more information.