Skip to content

Commit

Permalink
Dependency changed as requested.
Browse files Browse the repository at this point in the history
  • Loading branch information
amostajo committed Nov 5, 2015
1 parent 83034ff commit 17c6e18
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/vendor
/vendor
composer.lock
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ This package comes with:
## Contents

- [Installation](#installation)
- [Adding a service](#adding-a-service)
- [Gateway Usage](#gateway-usage)
- [Accessing Omnipay](#accessing-omnipay)
- [Adding Options](#adding-options)
Expand All @@ -45,6 +46,20 @@ Then in your `config/shop.php` add

in the `gateways` array.

## Adding a service

Once installed, the next step will be to add the service of your choice in `composer.json` file.

The services available are listed here:

[https://github.com/thephpleague/omnipay#payment-gateways](https://github.com/thephpleague/omnipay#payment-gateways)

For example, the following dependency must be added to use **Stripe**:

```json
"omnipay/stripe": "~2.0"
```

## Gateway Usage

The following example will give you an idea of how use and access omnipay:
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"php": ">=5.4.0",
"illuminate/console": "~5.0",
"illuminate/support": "~5.0",
"omnipay/omnipay": "2.0.*"
"omnipay/common": "~2.4"
},
"require-dev": {
"sami/sami": "dev-master"
Expand Down

0 comments on commit 17c6e18

Please sign in to comment.