File tree Expand file tree Collapse 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 Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -5,8 +5,11 @@ To be able to use and test payment gateway you need to have **Client ID** and **
5
5
# Installation
6
6
7
7
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:
9
8
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:
10
13
``` json
11
14
{
12
15
"name" : " project name" ,
@@ -18,7 +21,6 @@ Inside your `composer.json` file for your project, add new requirement:
18
21
// ...
19
22
}
20
23
```
21
-
22
24
Afterwards, run command ` composer install ` to install new dependency.
23
25
24
26
# Client initialization
Original file line number Diff line number Diff line change @@ -4,9 +4,12 @@ Aby ste mohli používať a testovať platobnú bránu, potrebujete **Client ID*
4
4
5
5
# Inštalácia
6
6
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.\
9
8
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:
10
13
``` json
11
14
{
12
15
"name" : " nazov projektu" ,
@@ -18,7 +21,6 @@ Do súboru `composer.json` pre váš projekt pridajte novú požiadavku:
18
21
// ...
19
22
}
20
23
```
21
-
22
24
Následne spustite príkaz ` composer install ` pre inštaláciu balíka.
23
25
24
26
# Vytvorenie API klienta
You can’t perform that action at this time.
0 commit comments