PHPackages                             rsvpify/laravel-inky - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Templating &amp; Views](/categories/templating)
4. /
5. rsvpify/laravel-inky

ActiveLibrary[Templating &amp; Views](/categories/templating)

rsvpify/laravel-inky
====================

Foundation Inky email templates in Laravel

v0.9.5(10mo ago)053.3k—2.5%5[1 PRs](https://github.com/rsvpify/laravel-inky/pulls)MITPHPPHP ^8.4CI passing

Since Aug 26Pushed 10mo ago1 watchersCompare

[ Source](https://github.com/rsvpify/laravel-inky)[ Packagist](https://packagist.org/packages/rsvpify/laravel-inky)[ RSS](/packages/rsvpify-laravel-inky/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)Dependencies (7)Versions (22)Used By (0)

[![Actions Status](https://github.com/rsvpify/laravel-inky/workflows/Testing%20Laravel%20Package/badge.svg)](https://github.com/rsvpify/laravel-inky/actions)

Allows you to use Foundation's [Inky](http://foundation.zurb.com/emails/docs/inky.html) email templates nicely in Laravel 6-11.

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.

Installation
------------

[](#installation)

Require with composer

```
composer require rsvpify/laravel-inky

```

Usage
-----

[](#usage)

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.

Use `Mail` as usual in Laravel

```
Mail::send('emails.welcome', ['name' => $user->name], function ($m) use ($user) {
  $m->from('hello@app.com', 'Your Application');

  $m->to($user->email, $user->name)->subject('Welcome!');
});
```

You can create a Blade layout to inherit from e.g. `emails/layout.inky.php`

```
"-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

  @yield('content')

```

then create an Inky view e.g. `emails/welcome.inky.php`

```
@extends('emails.layout')

@section('content')

      Welcome, {{ $name }}

@stop
```

### CSS Inlining

[](#css-inlining)

Anything in your inky.php templates `` elements is automatically inlined.

To apply CSS stylesheets to your inky.php templates, do not include any `` elements. Rather, run `php artisan vendor:publish` which will create a new `inky.php` file in your `config` directory. This file contains an example stylesheet you will want to include for Foundation templates. Be sure to reference the location of the Foundation CSS file from your base path. You will have to obtain a recent copy of this file from Foundation, for instance at

```
'stylesheets' => [
        'public/css/foundation-emails.css',
        // you can add additional CSS files here to apply to your emails.
    ]

```

In the above array, reference any additional CSS file(s) you want to apply to your emails. Be sure to include each file starting from the base path.

Here's a handy reference for CSS in emails: [CSS Support Guide for Email Clients](https://www.campaignmonitor.com/css/)

Licence
-------

[](#licence)

[MIT Licence](LICENCE)

###  Health Score

50

—

FairBetter than 96% of packages

Maintenance53

Moderate activity, may be stable

Popularity32

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity80

Battle-tested with a long release history

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~179 days

Recently: every ~430 days

Total

19

Last Release

323d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/78e4224b766aee15b2ed1281e7ccca475fb48908887435c3504ffb2b9991c993?d=identicon)[SimplyCorey](/maintainers/SimplyCorey)

![](https://www.gravatar.com/avatar/9c907c116225b0b9690d0b1bb70a9d1bb3bb1eac83712eb44c456df083e72aeb?d=identicon)[rsvpify](/maintainers/rsvpify)

---

Top Contributors

[![petecoop](https://avatars.githubusercontent.com/u/1655361?v=4)](https://github.com/petecoop "petecoop (30 commits)")[![bryanjamesmiller](https://avatars.githubusercontent.com/u/8781182?v=4)](https://github.com/bryanjamesmiller "bryanjamesmiller (22 commits)")[![ramicbenjamin](https://avatars.githubusercontent.com/u/15839776?v=4)](https://github.com/ramicbenjamin "ramicbenjamin (7 commits)")[![dvanscott](https://avatars.githubusercontent.com/u/38760117?v=4)](https://github.com/dvanscott "dvanscott (4 commits)")[![SimplyCorey](https://avatars.githubusercontent.com/u/624784?v=4)](https://github.com/SimplyCorey "SimplyCorey (4 commits)")[![sanilmusic](https://avatars.githubusercontent.com/u/4403018?v=4)](https://github.com/sanilmusic "sanilmusic (2 commits)")[![laravel-shift](https://avatars.githubusercontent.com/u/15991828?v=4)](https://github.com/laravel-shift "laravel-shift (2 commits)")[![michaelfox](https://avatars.githubusercontent.com/u/37444?v=4)](https://github.com/michaelfox "michaelfox (1 commits)")[![cyrillkalita](https://avatars.githubusercontent.com/u/2401848?v=4)](https://github.com/cyrillkalita "cyrillkalita (1 commits)")[![liliumdev](https://avatars.githubusercontent.com/u/8971846?v=4)](https://github.com/liliumdev "liliumdev (1 commits)")[![bplugaru](https://avatars.githubusercontent.com/u/203011?v=4)](https://github.com/bplugaru "bplugaru (1 commits)")[![robgridley](https://avatars.githubusercontent.com/u/9560656?v=4)](https://github.com/robgridley "robgridley (1 commits)")

---

Tags

laravelfoundationinky

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/rsvpify-laravel-inky/health.svg)

```
[![Health](https://phpackages.com/badges/rsvpify-laravel-inky/health.svg)](https://phpackages.com/packages/rsvpify-laravel-inky)
```

###  Alternatives

[rcrowe/twigbridge

Adds the power of Twig to Laravel

9105.9M50](/packages/rcrowe-twigbridge)[tightenco/jigsaw

Simple static sites with Laravel's Blade.

2.2k438.5k29](/packages/tightenco-jigsaw)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[moonshine/moonshine

Laravel administration panel

1.3k217.1k59](/packages/moonshine-moonshine)[radic/blade-extensions

Laravel package providing additional Blade extensions: foreach (with $loop data like twig), break, continue, set,array (multiline), etc

271321.7k5](/packages/radic-blade-extensions)[delatbabel/viewpages

Support rendering/view of Laravel pages and templates from a database.

121.4k](/packages/delatbabel-viewpages)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
