Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
pszalko authored Oct 6, 2021
1 parent c43c4e7 commit 468ee57
Showing 1 changed file with 21 additions and 6 deletions.
27 changes: 21 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,36 @@ This package requires PHP 5.6+.

## Installation

Tpay is installed via [Composer](http://getcomposer.org/). To install, simply add it
to your `composer.json` file:
Tpay is installed via [Composer](http://getcomposer.org/).

### Omnipay v2

To install with Omnipay v2, simply add it to your `composer.json` file:

```json
{
"require": {
"omnipay/tpay": "~2.0"
}
}
```

And run composer to update your dependencies.

### Omnipay v3

To install with Omnipay v3, simply add it to your `composer.json` file:

```json
{
"require": {
"omnipay/tpay": "~1.0"
"omnipay/tpay": "~3.0"
}
}
```

And run composer to update your dependencies:
And run composer to update your dependencies.

$ curl -s http://getcomposer.org/installer | php
$ php composer.phar update

## Basic Usage

Expand Down

0 comments on commit 468ee57

Please sign in to comment.