Skip to content

Commit f3e95da

Browse files
authored
Fixes
1 parent e1869cb commit f3e95da

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Begin by installing this package through Composer. Edit your project's `composer
4949
This package needs Laravel 5.x
5050
```json
5151
{
52-
"require": {
52+
"require": {
5353
"fedeisas/laravel-mail-css-inliner": "~1.5"
5454
}
5555
}
@@ -62,12 +62,15 @@ $ composer update
6262

6363
Once this operation completes, you must add the service provider. Open `app/config/app.php`, and add a new item to the providers array.
6464
```php
65-
'Fedeisas\LaravelMailCssInliner\LaravelMailCssInlinerServiceProvider',
65+
'providers' => [
66+
// ...
67+
Fedeisas\LaravelMailCssInliner\LaravelMailCssInlinerServiceProvider::class,
68+
],
6669
```
6770

6871
At this point the inliner should be already working with the default options. If you want to fine-tune these options, you can do so by publishing the configuration file:
6972
```bash
70-
$ php artisan vendor:publish --provider='Fedeisas\\LaravelMailCssInliner\\LaravelMailCssInlinerServiceProvider'
73+
$ php artisan vendor:publish --provider='Fedeisas\LaravelMailCssInliner\LaravelMailCssInlinerServiceProvider'
7174
```
7275
and changing the settings on the generated `config/css-inliner.php` file.
7376

0 commit comments

Comments
 (0)