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
+11-1Lines changed: 11 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -12,16 +12,26 @@
12
12
13
13
[PHP](https://php.net) 5.4+ or [HHVM](http://hhvm.com) 3.3+, and [Composer](https://getcomposer.org) are required.
14
14
15
-
To get the latest version of Laravel Paystack, simply add the following line to the require block of your `composer.json` file.
15
+
To get the latest version of Laravel Paystack, simply require it
16
+
17
+
```bash
18
+
composer require unicodeveloper/laravel-paystack
19
+
```
20
+
21
+
Or add the following line to the require block of your `composer.json` file.
16
22
17
23
```
18
24
"unicodeveloper/laravel-paystack": "1.0.*"
19
25
```
20
26
21
27
You'll then need to run `composer install` or `composer update` to download it and have the autoloader updated.
22
28
29
+
30
+
23
31
Once Laravel Paystack is installed, you need to register the service provider. Open up `config/app.php` and add the following to the `providers` key.
24
32
33
+
> If you use **Laravel >= 5.5** you can skip this step and go to [**`configuration`**](https://github.com/unicodeveloper/laravel-paystack#configuration)
0 commit comments