Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions docs/libraries/php/v2.0.0/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,11 @@ To be able to use and test payment gateway you need to have **Client ID** and **
# Installation

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

You can add requirement from command line by running:\
`composer require tatrapayplus/tatrapayplus_api_client=^2.0`

Alternatively, inside your `composer.json` file for your project, add new requirement:
```json
{
"name": "project name",
Expand All @@ -18,7 +21,6 @@ Inside your `composer.json` file for your project, add new requirement:
// ...
}
```

Afterwards, run command `composer install` to install new dependency.

# Client initialization
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,12 @@ Aby ste mohli používať a testovať platobnú bránu, potrebujete **Client ID*

# Inštalácia

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

Pridanie balíka vykonáte spustením príkazu:\
`composer require tatrapayplus/tatrapayplus_api_client=^2.0`

Alternatívne môžete do súboru `composer.json` pre váš projekt pridať novú požiadavku:
```json
{
"name": "nazov projektu",
Expand All @@ -18,7 +21,6 @@ Do súboru `composer.json` pre váš projekt pridajte novú požiadavku:
// ...
}
```

Následne spustite príkaz `composer install` pre inštaláciu balíka.

# Vytvorenie API klienta
Expand Down