You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allows you to use Foundation's [Inky](http://foundation.zurb.com/emails/docs/inky.html) email templates nicely in Laravel 5.
4
2
5
3
Any views with a `.inky.php` extension will be compiled with both Inky and Blade, allowing you to use both templating engines seamlessly together. CSS is automatically inlined so styles work in email clients that don't support external stylesheets.
6
4
7
-
##Installation
5
+
# Installation
8
6
9
7
Require with composer
10
8
```
11
-
composer require petecoop/laravel-inky
9
+
composer require mendicm/laravel-inky:0.3.0
12
10
```
13
11
12
+
## Laravel versions below 5.5:
14
13
Once installed, you'll need to register the service provider. Open `config/app.php` and add to the `providers` key:
15
14
16
15
```
17
16
Petecoop\LaravelInky\InkyServiceProvider::class
18
17
```
19
18
20
-
##Usage
19
+
# Usage
21
20
22
21
Check the [Foundation for Emails docs](http://foundation.zurb.com/emails/docs/index.html) for full usage on how to use Inky and Foundation for Emails CSS.
23
22
@@ -78,6 +77,6 @@ then
78
77
The location of your `<link rel="stylesheet">``href` is resolved to the `resources/assets/css` directory, so in the example above it expects some CSS at `resources/assets/css/foundation-emails.css`.
0 commit comments