Skip to content

Commit

Permalink
package version
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexandr Penkin committed Sep 1, 2022
1 parent cb76548 commit 465281b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
10 changes: 5 additions & 5 deletions README.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,24 @@ 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

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:
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,24 +14,24 @@ Russian | [English](README.en.md)
[Документация по данному SDK](docs/readme.md).

## Требования
PHP 5.3.2 (и выше) с расширением libcurl
PHP 8.1 (и выше) с расширением libcurl

## Установка
### В консоли с помощью Composer

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, и выполните команду:
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": "*",
Expand Down

0 comments on commit 465281b

Please sign in to comment.