From 465281b6dc57af571ae60915a06c771aa2d7691f Mon Sep 17 00:00:00 2001 From: Alexandr Penkin Date: Thu, 1 Sep 2022 19:31:38 +0300 Subject: [PATCH] package version --- README.en.md | 10 +++++----- README.md | 10 +++++----- composer.json | 2 +- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/README.en.md b/README.en.md index 0dc77db6..1abd8735 100644 --- a/README.en.md +++ b/README.en.md @@ -12,7 +12,7 @@ This product is used for managing payments under [The YooKassa API](https://yook For usage by those who implemented YooKassa using the API method. ## Requirements -PHP 5.3.2 (or later version) with the libcurl library +PHP 8.1 (or later version) with the libcurl library ## Installation ### Under console using Composer @@ -20,16 +20,16 @@ PHP 5.3.2 (or later version) with the libcurl library 1. Install Composer, a package manager. 2. In the console, run the following command: ```bash -composer require yoomoney/yookassa-sdk-php +composer require zoonru/yookassa-sdk-php ``` ### Do the following for the composer.json file of your project: -1. Add a string `"yoomoney/yookassa-sdk-php": "^2.4"` to the list of dependencies of your project in the composer.json file +1. Add a string `"zoonru/yookassa-sdk-php": "^2.6.3"` to the list of dependencies of your project in the composer.json file ``` ... "require": { - "php": ">=5.3.2", - "yoomoney/yookassa-sdk-php": "^2.4" + "php": "^8.1", + "zoonru/yookassa-sdk-php": "^2.6.3" ... ``` 2. Refresh the project's dependencies. In the console, navigate to the catalog with composer.json and run the following command: diff --git a/README.md b/README.md index 832d09c7..9ce547ca 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ Russian | [English](README.en.md) [Документация по данному SDK](docs/readme.md). ## Требования -PHP 5.3.2 (и выше) с расширением libcurl +PHP 8.1 (и выше) с расширением libcurl ## Установка ### В консоли с помощью Composer @@ -22,16 +22,16 @@ PHP 5.3.2 (и выше) с расширением libcurl 1. Установите менеджер пакетов Composer. 2. В консоли выполните команду ```bash -composer require yoomoney/yookassa-sdk-php +composer require zoonru/yookassa-sdk-php ``` ### В файле composer.json своего проекта -1. Добавьте строку `"yoomoney/yookassa-sdk-php": "^2.1"` в список зависимостей вашего проекта в файле composer.json +1. Добавьте строку `"zoonru/yookassa-sdk-php": "^2.6.3"` в список зависимостей вашего проекта в файле composer.json ``` ... "require": { - "php": ">=5.3.2", - "yoomoney/yookassa-sdk-php": "^2.1" + "php": "^8.1", + "zoonru/yookassa-sdk-php": "^2.6.3" ... ``` 2. Обновите зависимости проекта. В консоли перейдите в каталог, где лежит composer.json, и выполните команду: diff --git a/composer.json b/composer.json index 359713c7..0bed800e 100644 --- a/composer.json +++ b/composer.json @@ -21,7 +21,7 @@ "type": "zip", "url": "https://git.yoomoney.ru/rest/api/latest/projects/SDK/repos/yookassa-sdk-php/archive?at=refs%2Ftags%2F2.5.0&format=zip" }, - "version": "2.5.0", + "version": "2.6.3", "require": { "php": "^8.1", "ext-curl": "*",