Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
alexw23 authored Jan 8, 2019
1 parent 2a29998 commit 55d955e
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,24 +27,20 @@ Version `3.0` and onwards supports Omnipay 3.0 and Laravel 5.4 (note 5.5+ haven'

Include the laravel-omnipay package as a dependency in your `composer.json`:

"ignited/laravel-omnipay": "3.*"
composer require ignited/laravel-omnipay "3.*"

**Note:** You don't need to include the `omnipay/common` in your composer.json - it is a requirement of the `laravel-omnipay` package.

Omnipay recently went refactoring that made it so that each package is now a seperate repository. The `omnipay/common` package includes the core framework. You will then need to include each gateway as you require. For example:

"omnipay/eway": "*"
composer require omnipay/eway "3.*"

Alternatively you can include every gateway by requring:

"omnipay/omnipay": "*"
composer require omnipay/omnipay "3.*"

**Note:** this requires a large amount of composer work as it needs to fetch each seperate repository. This is not recommended.

### Installation

Run `composer install` to download the dependencies.

#### Laravel 5

Add a ServiceProvider to your providers array in `config/app.php`:
Expand Down

0 comments on commit 55d955e

Please sign in to comment.