Fix typo in README (#167)

This commit is contained in:
Sébastien Santoro 2016-08-31 23:26:08 +02:00 committed by Tobias Nyholm
parent 83fdf42216
commit 18804d491f

View File

@ -20,8 +20,8 @@ composer:
curl -sS https://getcomposer.org/installer | php
```
The Mailgun api client is not hard coupled to Guzzle or any other library that sends HTTP messags. It uses an abstraction
called HTTPlug. This will give you the flexibilty to choose what PSR-7 implementaion and HTTP client to use.
The Mailgun api client is not hard coupled to Guzzle or any other library that sends HTTP messages. It uses an abstraction
called HTTPlug. This will give you the flexibilty to choose what PSR-7 implementation and HTTP client to use.
If you just want to get started quickly you should run the following command:
@ -33,7 +33,7 @@ php composer.phar require mailgun/mailgun-php php-http/curl-client guzzlehttp/ps
### Why requiring so many packages?
Mailgun has a dependency on the virtual package
[php-http/client-implementation](https://packagist.org/providers/php-http/client-implementation) which requires to you install **an** adapter, but we do not care which one. That is an implemnetation detail in your application. We also need **a** PSR-7 implementation and **a** message factory.
[php-http/client-implementation](https://packagist.org/providers/php-http/client-implementation) which requires to you install **an** adapter, but we do not care which one. That is an implementation detail in your application. We also need **a** PSR-7 implementation and **a** message factory.
You do not have to use the `php-http/curl-client` if you do not want to. You may use the `php-http/guzzle6-adapter`. Read more about the virtual packages, why this is a good idea and about the flexibility it brings at the [HTTPlug docs](http://docs.php-http.org/en/latest/httplug/users.html).