Skip to content

Commit 4ad1163

Browse files
committed
update install instructions
1 parent 27086e8 commit 4ad1163

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ You can find more examples and information about MailerLite API v2 here: [http:/
66

77
## Getting started
88

9-
In order to use this library you need to have at least PHP 5.6 version.
9+
In order to use this library you need to have at least PHP 7.1 version.
1010

1111
There are two ways to use MailerLite PHP SDK:
1212

@@ -20,6 +20,13 @@ Then you will need to run this simple command using CLI:
2020
composer require mailerlite/mailerlite-api-v2-php-sdk
2121
```
2222

23+
This library is built atop of [PSR-7](https://www.php-fig.org/psr/psr-7/) and
24+
[PSR-18](https://www.php-fig.org/psr/psr-18/). If you are receiving `Http\Discovery\Exception\DiscoveryFailedException` exception you will need to run:
25+
26+
```bash
27+
composer require php-http/guzzle6-adapter
28+
```
29+
2330
##### Manual (preferable for shared hostings)
2431

2532
This way is preferable only if you are using shared hosting and do not have a possibility to use Composer. You will need to download [this archive](https://bit.ly/32jmi7M)(v0.2.3), extract it and place its contents in root folder of your project. The next step is the same as using Composer, you will need to require `vendor/autoload.php` file in your index.php and lets dive in!

0 commit comments

Comments
 (0)