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
+46-44
Original file line number
Diff line number
Diff line change
@@ -7,74 +7,76 @@ Omnipay for Laravel 5 & Lumen
7
7
8
8
Integrates the [Omnipay](https://github.com/adrianmacneil/omnipay) PHP library with Laravel 5.6 via a ServiceProvider to make Configuring multiple payment tunnels a breeze!
9
9
10
-
### Laravel 4 Support
11
-
12
-
For Laravel 4 see the [version 1.x](https://github.com/ignited/laravel-omnipay/tree/1.1.0) tree
13
-
14
10
### Now using Omnipay 3.0
15
11
16
-
Version `2.0` and onwards has been updated to use Omnipay 3.0.
17
-
18
-
Version `2.2` and onwards is using Omnipay 2.5
19
-
20
-
Version `2.3` and onwards supports Laravel 5.4
12
+
* Version `2.0` and onwards has been updated to use Omnipay 3.0.
13
+
* Version `2.2` and onwards is using Omnipay 2.5
14
+
* Version `2.3` and onwards supports Laravel 5.4
21
15
22
16
### Composer Configuration
23
17
24
18
Include the laravel-omnipay package as a dependency in your `composer.json`:
25
19
26
-
"laravel-omnipay/laravel-omnipay": "3.*"
27
-
20
+
"academe/laravel-omnipay": "3.*"
21
+
28
22
**Note:** You don't need to include the `omnipay/common` in your composer.json - it is a requirement of the `laravel-omnipay` package.
29
23
30
-
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:
24
+
Each gateway driver is a seperate package.
25
+
The `omnipay/common` package includes the core framework.
26
+
You will then need to include each gateway as you require.
27
+
Example:
28
+
29
+
"omnipay/eway": "3.*"
31
30
32
-
"omnipay/eway": "*"
33
-
34
31
Alternatively you can include every gateway by requring:
35
32
36
-
"omnipay/omnipay": "*"
33
+
"omnipay/omnipay": "3.*"
37
34
38
-
**Note:** this requires a large amount of composer work as it needs to fetch each seperate repository. This is not recommended.
35
+
**Note:** This requires a large amount of composer work as it needs to fetch each seperate repository.
36
+
This is not recommended.
39
37
40
38
### Installation
41
39
42
40
Run `composer install` to download the dependencies.
43
41
44
42
#### Laravel 5
45
43
44
+
**Note:** For Laravel 5.6, the following steps are automated through the discovery process,
45
+
so you will not need to add the provider and facade manually.
46
+
46
47
Add a ServiceProvider to your providers array in `config/app.php`:
0 commit comments