Skip to content

Commit 05a6bdd

Browse files
Merge pull request #40 from mathieutu/patch-1
Correct Readme with the real converted HTML
2 parents ecd8db6 + 3b702b5 commit 05a6bdd

File tree

1 file changed

+8
-12
lines changed

1 file changed

+8
-12
lines changed

README.md

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,12 @@ Into this:
3636
```html
3737
<html>
3838
<head>
39+
<style>
40+
h1 {
41+
font-size: 24px;
42+
color: #000;
43+
}
44+
</style>
3945
</head>
4046
<body>
4147
<h1 style="font-size: 24px; color: #000;">Hey you</h1>
@@ -44,22 +50,12 @@ Into this:
4450
```
4551

4652
## Installation
47-
Begin by installing this package through Composer. Edit your project's `composer.json` file to require `fedeisas/laravel-mail-css-inliner`.
48-
4953
This package needs Laravel 5.x
50-
```json
51-
{
52-
"require": {
53-
"fedeisas/laravel-mail-css-inliner": "~1.5"
54-
}
55-
}
56-
```
5754

58-
Next, update Composer from the Terminal:
55+
Begin by installing this package through Composer. Require it directly from the Terminal to take the last stable version:
5956
```bash
60-
$ composer update
57+
$ composer require `fedeisas/laravel-mail-css-inliner`
6158
```
62-
6359
Once this operation completes, you must add the service provider. Open `app/config/app.php`, and add a new item to the providers array.
6460
```php
6561
'providers' => [

0 commit comments

Comments
 (0)