+Make sure you have the mailparse extension (http://php.net/manual/en/book.mailparse.php) properly installed. The command line `php -m | grep mailparse` needs to return "mailparse".
+echo "extension=mailparse.so" | sudo tee /etc/php/7.1/mods-available/mailparse.ini
+sudo phpenmod mailparse
+```
+
+#### Windows
+You need to download mailparse DLL from http://pecl.php.net/package/mailparse and add the line `extension=php_mailparse.dll` to `php.ini` accordingly.
+
+## How do I use it?
+
+### Loading an email
+
+You can load an email in 4 differents ways:
+
+```php
+require_once __DIR__.'/vendor/autoload.php';
+
+$path = 'path/to/email.eml';
+$parser = new PhpMimeMailParser\Parser();
+
+// 1. Either specify a file path (string)
+$parser->setPath($path);
+
+// 2. or specify the raw mime mail text (string)
+$parser->setText(file_get_contents($path));
+
+// 3. or specify a php file resource (stream)
+$parser->setStream(fopen($path, "r"));
+
+// 4. or specify a stream to work with a mail server (stream)