Skip to content

Commit 1ab918e

Browse files
authored
Merge pull request #10 from SmartBase-SK/triv_php
triv: update php installation guide
2 parents fbb9209 + 49801d3 commit 1ab918e

File tree

2 files changed

+9
-5
lines changed
  • docs/libraries/php/v2.0.0
  • i18n/sk/docusaurus-plugin-content-docs/current/libraries/php/v2.0.0

2 files changed

+9
-5
lines changed

docs/libraries/php/v2.0.0/index.mdx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,11 @@ To be able to use and test payment gateway you need to have **Client ID** and **
55
# Installation
66

77
To install PHP SDK, you need to install `tatrapayplus/tatrapayplus_api_client` library via composer.\
8-
Inside your `composer.json` file for your project, add new requirement:
98

9+
You can add requirement from command line by running:\
10+
`composer require tatrapayplus/tatrapayplus_api_client=^2.0`
11+
12+
Alternatively, inside your `composer.json` file for your project, add new requirement:
1013
```json
1114
{
1215
"name": "project name",
@@ -18,7 +21,6 @@ Inside your `composer.json` file for your project, add new requirement:
1821
// ...
1922
}
2023
```
21-
2224
Afterwards, run command `composer install` to install new dependency.
2325

2426
# Client initialization

i18n/sk/docusaurus-plugin-content-docs/current/libraries/php/v2.0.0/index.mdx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,12 @@ Aby ste mohli používať a testovať platobnú bránu, potrebujete **Client ID*
44

55
# Inštalácia
66

7-
Na inštaláciu PHP SDK je potrebné nainštalovať `tatrapayplus/tatrapayplus_api_client` cez composer.\
8-
Do súboru `composer.json` pre váš projekt pridajte novú požiadavku:
7+
Pre inštaláciu PHP SDK je potrebné nainštalovať balík `tatrapayplus/tatrapayplus_api_client` cez composer.\
98

9+
Pridanie balíka vykonáte spustením príkazu:\
10+
`composer require tatrapayplus/tatrapayplus_api_client=^2.0`
11+
12+
Alternatívne môžete do súboru `composer.json` pre váš projekt pridať novú požiadavku:
1013
```json
1114
{
1215
"name": "nazov projektu",
@@ -18,7 +21,6 @@ Do súboru `composer.json` pre váš projekt pridajte novú požiadavku:
1821
// ...
1922
}
2023
```
21-
2224
Následne spustite príkaz `composer install` pre inštaláciu balíka.
2325

2426
# Vytvorenie API klienta

0 commit comments

Comments
 (0)