{"id":33988228,"url":"https://github.com/khandurdyiev/monobank-php-client","last_synced_at":"2025-12-13T05:54:42.914Z","repository":{"id":52975036,"uuid":"337878278","full_name":"khandurdyiev/monobank-php-client","owner":"khandurdyiev","description":"PHP Client for Monobank API","archived":false,"fork":false,"pushed_at":"2022-12-07T19:08:03.000Z","size":25,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-12-04T01:45:33.924Z","etag":null,"topics":["monobank","monobank-api","monobank-php-client","php","php-client"],"latest_commit_sha":null,"homepage":"https://api.monobank.ua/docs/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/khandurdyiev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-02-10T23:06:17.000Z","updated_at":"2024-10-16T20:04:13.000Z","dependencies_parsed_at":"2023-01-24T20:30:16.307Z","dependency_job_id":null,"html_url":"https://github.com/khandurdyiev/monobank-php-client","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/khandurdyiev/monobank-php-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khandurdyiev%2Fmonobank-php-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khandurdyiev%2Fmonobank-php-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khandurdyiev%2Fmonobank-php-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khandurdyiev%2Fmonobank-php-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/khandurdyiev","download_url":"https://codeload.github.com/khandurdyiev/monobank-php-client/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khandurdyiev%2Fmonobank-php-client/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27701187,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-13T02:00:09.769Z","response_time":147,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["monobank","monobank-api","monobank-php-client","php","php-client"],"created_at":"2025-12-13T05:54:42.339Z","updated_at":"2025-12-13T05:54:42.908Z","avatar_url":"https://github.com/khandurdyiev.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Monobank PHP Client\n\n\u003ca href=\"https://packagist.org/packages/khandurdyiev/monobank-php-client\"\u003e\u003cimg src=\"https://img.shields.io/packagist/dt/khandurdyiev/monobank-php-client\" alt=\"Total Downloads\"\u003e\u003c/a\u003e\n\u003ca href=\"https://packagist.org/packages/khandurdyiev/monobank-php-client\"\u003e\u003cimg src=\"https://img.shields.io/packagist/v/khandurdyiev/monobank-php-client\" alt=\"Latest Stable Version\"\u003e\u003c/a\u003e\n\u003ca href=\"https://packagist.org/packages/khandurdyiev/monobank-php-client\"\u003e\u003cimg src=\"https://img.shields.io/packagist/l/khandurdyiev/monobank-php-client\" alt=\"License\"\u003e\u003c/a\u003e\n\u003ca href=\"https://packagist.org/packages/khandurdyiev/monobank-php-client\"\u003e\u003cimg src=\"https://img.shields.io/packagist/php-v/khandurdyiev/monobank-php-client\" alt=\"PHP Version\"\u003e\u003c/a\u003e\n\nMonobank php client helps you to use [Monobank API](https://api.monobank.ua/docs/) easily.\n\n## Installation\n\nIt's recommended that you use [Composer](https://getcomposer.org/) to install Monobank php client.\n\n```bash\n$ composer require khandurdyiev/monobank-php-client\n```\n\n## Important\n*All money amounts in dime (according to Monobank API)*\n\n## Basic Usage (Public Data)\n```php\n\u003c?php\n\nuse Khandurdyiev\\MonoClient\\MonoClient;\n\n// create a monobank client instance\n$mono = new MonoClient();\n$currencies = $mono-\u003ecurrency()-\u003eall();\n\nforeach ($currencies as $currency) {\n    $currencyA = $currency-\u003egetCurrencyA(); // USD\n    $currencyB = $currency-\u003egetCurrencyB(); // UAH\n    $date = $currency-\u003egetDate(); // returns Carbon instance with date\n    // ...\n}\n```\n\n## Usage with token (Private Data)\n\n```php\n\u003c?php\n\nuse Carbon\\Carbon;\nuse Khandurdyiev\\MonoClient\\MonoClient;\n\n// create a monobank client instance\n$mono = new MonoClient('your_monobank_api_token'); // you can get from https://api.monobank.ua\n\n// Get client info\n$clientInfo = $mono-\u003eclientInfo();\n$name = $clientInfo-\u003egetName();\n$accounts = $clientInfo-\u003egetAccounts()-\u003eall();\n\nforeach ($accounts as $account) {\n    $balance = $account-\u003egetBalance(); // 123456\n    $creditLimit = $account-\u003egetCreditLimit(); // 654321\n    $currency = $account-\u003egetCurrency(); // UAH\n    \n    // ...\n}\n\n// Get statements of concrete account\n$from = Carbon::now()-\u003esubMonth();\n$to = Carbon::now();\n$statements = $mono-\u003estatements($from, $to, 'account_id')-\u003eall();\n\nforeach ($statements as $statement) {\n    $amount = $statement-\u003egetAmount(); // 123456\n    $cashbackAmount = $statement-\u003egetCashbackAmount(); // 123456\n    $currency = $statement-\u003egetCurrency(); // UAH\n    // ...\n}\n```\n\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE) for more information.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhandurdyiev%2Fmonobank-php-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkhandurdyiev%2Fmonobank-php-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhandurdyiev%2Fmonobank-php-client/lists"}