Skip to content

Commit

Permalink
Update composer
Browse files Browse the repository at this point in the history
  • Loading branch information
regdos committed Dec 7, 2017
1 parent 14a78cc commit 3dfa86e
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 11 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@


## Cechy
Moduł płatności PayU dodaje do Magento 2 opcję płatności PayU.
Moduł płatności PayU dodaje do Magento 2 opcję płatności PayU. Moduł współpracuje z Magento 2 w wersjach: >2.0.6, 2.1, 2.2

Możliwe są następujące operacje:
* Utworzenie płatności w sytemie PayU
Expand All @@ -47,10 +47,15 @@ Moduł dodaje dwie metody płatności:

## Instalacja

#### Przy użyciu Composer
`composer require payu/magento2-payment-gateway`

#### Kopiując pliki na serwer
1. Pobierz najnowszą wersję moduł z [repozytorium GitHub][ext4]
1. Rozpakuj pobrany plik
1. Połącz się z serwerem ftp i skopiuj rozpakowaną zawartość do katalogu `app/code/PayU/PaymentGateway` swojego sklepu Magento 2. Jeżeli nie ma takiego katalogu utwórz go.
1. Z poziomu konsoli uruchom:

Po instalacji przy użyciu Composer lub kopiując pliki z poziomu konsoli uruchom:
* php bin/magento module:enable PayU_PaymentGateway
* php bin/magento setup:upgrade
* php bin/magento setup:di:compile
Expand Down
34 changes: 25 additions & 9 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,26 @@
{
"name": "payu/magento2-payment-gateway",
"description": "PayU integration with payment gateway",
"description": "Official PayU integration plugin for Magento 2",
"keywords": [
"payu",
"payu easy and plus merchant",
"payment processing",
"payment module",
"payu magento 2 module",
"payu magento 2"
],
"type": "magento2-module",
"version": "1.1.0",
"license": "GPL-3.0",
"license": [
"OSL-3.0",
"AFL-3.0"
],
"require": {
"php": "~5.5.0|~5.6.0|~7.0.0",
"magento/module-sales": "100.0.*",
"magento/module-checkout": "100.0.*",
"magento/module-payment": "100.0.*",
"magento/framework": "100.0.*",
"magento/magento-composer-installer": "100.0.*"
"php": "~5.5.0|~5.6.0|~7.0.0|~7.1.0",
"magento/module-sales": ">100.0",
"magento/module-checkout": ">100.0",
"magento/module-payment": ">100.0",
"magento/framework": ">100.0"
},
"autoload": {
"files": [
Expand All @@ -19,5 +29,11 @@
"psr-4": {
"PayU\\PaymentGateway\\": ""
}
}
},
"authors": [
{
"name": "PayU S.A.",
"homepage": "https://payu.pl/"
}
]
}

0 comments on commit 3dfa86e

Please sign in to comment.