Download the PHP package val-mygento/yandex-checkout-sdk-php without Composer
On this page you can find all versions of the php package val-mygento/yandex-checkout-sdk-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package yandex-checkout-sdk-php
Yandex.Checkout API PHP Client Library
Russian | English
Клиент для работы с платежами по API Яндекс.Кассы Подходит тем, у кого способ подключения к Яндекс.Кассе называется API.
Требования
PHP 5.3.2 (и выше) с расширением libcurl
Установка
В консоли с помощью Composer
- Установите менеджер пакетов Composer.
- В консоли выполните команду
В файле composer.json своего проекта
-
Добавьте строку
"yandex-money/yandex-checkout-sdk-php": "*"
в список зависимостей вашего проекта в файле composer.json -
Обновите зависимости проекта. В консоли перейдите в каталог, где лежит composer.json, и выполните команду:
- В коде вашего проекта подключите автозагрузку файлов нашего клиента:
Вручную
- Скачайте архив Yandex.Checkout API PHP Client Library, распакуйте его и скопируйте каталог lib в нужное место в вашем проекте.
- В коде вашего проекта подключите автозагрузку файлов нашего клиента:
Начало работы
-
Импортируйте нужные классы
-
Создайте экземпляр объекта клиента и задайте идентификатор магазина и секретный ключ (их можно получить в личном кабинете Яндекс.Кассы). Как выпустить секретный ключ
- Вызовите нужный метод API. Подробнее в документации к API Яндекс.Кассы
All versions of yandex-checkout-sdk-php with dependencies
ext-curl Version *
ext-json Version *
ext-mbstring Version *
psr/log Version ^1.0