{"id":20533531,"url":"https://github.com/zoonru/yookassa-sdk-php","last_synced_at":"2026-02-18T13:33:06.879Z","repository":{"id":58384901,"uuid":"522475527","full_name":"zoonru/yookassa-sdk-php","owner":"zoonru","description":null,"archived":false,"fork":false,"pushed_at":"2024-08-26T17:16:30.000Z","size":4660,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-10-25T06:52:40.525Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/zoonru.png","metadata":{"files":{"readme":"README.en.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-08-08T09:00:18.000Z","updated_at":"2022-08-08T09:02:12.000Z","dependencies_parsed_at":"2024-11-16T00:32:58.399Z","dependency_job_id":null,"html_url":"https://github.com/zoonru/yookassa-sdk-php","commit_stats":null,"previous_names":[],"tags_count":42,"template":false,"template_full_name":null,"purl":"pkg:github/zoonru/yookassa-sdk-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zoonru%2Fyookassa-sdk-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zoonru%2Fyookassa-sdk-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zoonru%2Fyookassa-sdk-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zoonru%2Fyookassa-sdk-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zoonru","download_url":"https://codeload.github.com/zoonru/yookassa-sdk-php/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zoonru%2Fyookassa-sdk-php/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29580808,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-18T08:38:15.585Z","status":"ssl_error","status_checked_at":"2026-02-18T08:38:14.917Z","response_time":162,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-11-16T00:22:02.917Z","updated_at":"2026-02-18T13:33:01.865Z","avatar_url":"https://github.com/zoonru.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# The YooKassa API PHP Client Library\n\n[![Build Status](https://img.shields.io/travis/yoomoney/yookassa-sdk-php)](https://travis-ci.org/yoomoney/yookassa-sdk-php)\n[![Latest Stable Version](https://img.shields.io/packagist/v/yoomoney/yookassa-sdk-php?label=stable)](https://packagist.org/packages/yoomoney/yookassa-sdk-php)\n[![Total Downloads](https://img.shields.io/packagist/dt/yoomoney/yookassa-sdk-php)](https://packagist.org/packages/yoomoney/yookassa-sdk-php)\n[![Monthly Downloads](https://img.shields.io/packagist/dm/yoomoney/yookassa-sdk-php)](https://packagist.org/packages/yoomoney/yookassa-sdk-php)\n[![License](https://img.shields.io/packagist/l/yoomoney/yookassa-sdk-php)](https://packagist.org/packages/yoomoney/yookassa-sdk-php)\n\n[Russian](README.md) | English\n\nThis product is used for managing payments under [The YooKassa API](https://yookassa.ru/en/developers/api)\nFor usage by those who implemented YooKassa using the API method.\n\n## Requirements\nPHP 8.1 (or later version) with the libcurl library\n\n## Installation\n### Under console using Composer\n\n1. Install Composer, a package manager.\n2. In the console, run the following command:\n```bash\ncomposer require zoonru/yookassa-sdk-php\n```\n\n### Do the following for the composer.json file of your project:\n1. Add a string `\"zoonru/yookassa-sdk-php\": \"^2.6.3\"` to the list of dependencies of your project in the composer.json file\n```\n...\n   \"require\": {\n        \"php\": \"^8.1\",\n        \"zoonru/yookassa-sdk-php\": \"^2.6.3\"\n...\n```\n2. Refresh the project's dependencies. In the console, navigate to the catalog with composer.json and run the following command:\n```bash\ncomposer update\n```\n3. Adjust your project's code to activate automated uploading of files for our product:\n```php\nrequire __DIR__ . '/vendor/autoload.php';\n```\n\n### Manually\n\n1. Download [the YooKassa API PHP Client Library archive](https://git.yoomoney.ru/rest/api/latest/projects/SDK/repos/yookassa-sdk-php/archive?format=zip), extract it and copy the lib catalog to the required place of your project.\n2. Adjust your project's code to activate automated uploading of files for our product:\n```php\nrequire __DIR__ . '/lib/autoload.php'; \n```\n\n## Commencing work\n\n1. Import required classes\n```php\nuse YooKassa\\Client;\n```\n2. Create a sample of a client object, then set the store's identifier and secret key (you can get them under your YooKassa's Merchant Profile). [Issuing a secret key](https://yookassa.ru/docs/support/merchant/payments/implement/keys?lang=en)\n```php\n$client = new Client();\n$client-\u003esetAuth('shopId', 'secretKey');\n```\n3. Call the required API method. \n   \n   [More details in our documentation for the YooKassa API](https://yookassa.ru/en/developers/api#create_payment).\n\n   [More details in our documentation for the YooKassa SDK](docs/readme.md).\n\n## Examples of using the API SDK\n\n#### [YooKassa SDK Settings](docs/examples/01-configuration.md)\n* [Authentication](docs/examples/01-configuration.md#Аутентификация)\n* [Statistics about the environment used](docs/examples/01-configuration.md#Статистические-данные-об-используемом-окружении)\n* [Getting information about the store](docs/examples/01-configuration.md#Получение-информации-о-магазине)\n* [Working with Webhook](docs/examples/01-configuration.md#Работа-с-Webhook)\n* [Notifications](docs/examples/01-configuration.md#Входящие-уведомления)\n\n#### [Working with payments](docs/examples/02-payments.md)\n* [Request to create a payment](docs/examples/02-payments.md#Запрос-на-создание-платежа)\n* [Request to create a payment via the builder](docs/examples/02-payments.md#Запрос-на-создание-платежа-через-билдер)\n* [Request for partial payment confirmation](docs/examples/02-payments.md#Запрос-на-частичное-подтверждение-платежа)\n* [Request to cancel an incomplete payment](docs/examples/02-payments.md#Запрос-на-отмену-незавершенного-платежа)\n* [Get payment information](docs/examples/02-payments.md#Получить-информацию-о-платеже)\n* [Get a list of payments with filtering](docs/examples/02-payments.md#Получить-список-платежей-с-фильтрацией)\n\n#### [Working with refunds](docs/examples/03-refunds.md)\n* [Request to create a refund](docs/examples/03-refunds.md#Запрос-на-создание-возврата)\n* [Request to create a refund via the builder](docs/examples/03-refunds.md#Запрос-на-создание-возврата-через-билдер)\n* [Get refund information](docs/examples/03-refunds.md#Получить-информацию-о-возврате)\n* [Get a list of returns with filtering](docs/examples/03-refunds.md#Получить-список-возвратов-с-фильтрацией)\n\n#### [Working with receipts](docs/examples/04-receipts.md)\n* [Request to create a receipt](docs/examples/04-receipts.md#Запрос-на-создание-чека)\n* [Request to create a receipt via the builder](docs/examples/04-receipts.md#Запрос-на-создание-чека-через-билдер)\n* [Get information about the receipt](docs/examples/04-receipts.md#Получить-информацию-о-чеке)\n* [Get a list of receipts with filtering](docs/examples/04-receipts.md#Получить-список-чеков-с-фильтрацией)\n\n#### [Working with safe deals](docs/examples/05-deals.md)\n* [Request to create a deal](docs/examples/05-deals.md#Запрос-на-создание-сделки)\n* [Request to create a deal via the builder](docs/examples/05-deals.md#Запрос-на-создание-сделки-через-билдер)\n* [Request to create a payment with info about deal](docs/examples/05-deals.md#Запрос-на-создание-платежа-с-привязкой-к-сделке)\n* [Request to create a payout](docs/examples/05-deals.md#Запрос-на-выплату-продавцу)\n* [Get deal information](docs/examples/05-deals.md#Получить-информацию-о-сделке)\n* [Get a list of deals with filtering](docs/examples/05-deals.md#Получить-список-сделок-с-фильтрацией)\n* [Get payout information](docs/examples/05-deals.md#Получить-информацию-о-выплате)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzoonru%2Fyookassa-sdk-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzoonru%2Fyookassa-sdk-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzoonru%2Fyookassa-sdk-php/lists"}