Skip to content
This repository was archived by the owner on Jan 14, 2019. It is now read-only.

Commit 9533fa7

Browse files
author
Nicolas Hart
committed
complete readme
1 parent 1249364 commit 9533fa7

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

README.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,24 @@
22

33
[![Build Status](https://travis-ci.org/Hexanet/swiftmailer-image-embed.svg)](https://travis-ci.org/Hexanet/swiftmailer-image-embed)
44

5-
Swiftmailer plugin to automatically embed images into message
5+
Swiftmailer plugin to automatically embed images into message.
6+
7+
## Installation
8+
9+
```
10+
composer require hexanet/swiftmailer-image-embed
11+
```
12+
13+
## Usage
14+
15+
```php
16+
use Hexanet\Swiftmailer\ImageEmbedPlugin;
17+
18+
$mailer = Swift_Mailer::newInstance();
19+
20+
$mailer->registerPlugin(new ImageEmbedPlugin());
21+
```
22+
23+
## Licence
24+
25+
Swiftmailer Image Embed Plugin is released under the MIT License. See the [bundled LICENSE file](LICENSE) file for details.

0 commit comments

Comments
 (0)