You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+45-59Lines changed: 45 additions & 59 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,72 +6,34 @@ Omnipay for Laravel & Lumen
6
6
7
7
Integrates the [Omnipay](https://github.com/adrianmacneil/omnipay) PHP library with Laravel to make Configuring multiple payment tunnels a breeze!
8
8
9
-
### Composer Configuration
9
+
##Installation
10
10
11
11
Include the laravel-omnipay package as a dependency in your `composer.json`:
12
12
13
13
composer require ignited/laravel-omnipay "3.*"
14
14
15
-
**Note:** You don't need to include the `omnipay/common` in your composer.json - it is a requirement of the `laravel-omnipay` package.
15
+
**Note:** You don't need to include the `omnipay/common` in your composer.json - it has already been included `laravel-omnipay`.
16
16
17
-
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:
17
+
### Install Required Providers
18
18
19
-
composer require omnipay/eway "3.*"
19
+
Now just include each gateway as you require, to included PayPal for example:
20
+
21
+
composer require omnipay/paypal "3.*"
20
22
21
-
Alternatively you can include every gateway by requring:
23
+
Alternatively you can include every gateway by the following:
22
24
23
25
composer require omnipay/omnipay "3.*"
24
26
25
27
**Note:** this requires a large amount of composer work as it needs to fetch each seperate repository. This is not recommended.
26
28
27
-
#### Laravel 5
28
-
29
-
Add a ServiceProvider to your providers array in `config/app.php`:
0 commit comments