PHPackages                             bryanjamesmiller/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. [Mail &amp; Notifications](/categories/mail)
4. /
5. bryanjamesmiller/laravel-inky

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

bryanjamesmiller/laravel-inky
=============================

Foundation Inky email templates in Laravel

v9.0.1(6y ago)01.0k[1 PRs](https://github.com/bryanjamesmiller/laravel-inky/pulls)MITPHP

Since Aug 26Pushed 6y agoCompare

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

READMEChangelogDependencies (7)Versions (38)Used By (0)

Allows you to use Foundation for Emails 2 (formerly [Inky](http://foundation.zurb.com/emails/docs/inky.html)) email templates nicely in Laravel 6.

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 bryanjamesmiller/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.

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

```

    Welcome, {{ $name }}

```

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

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

@section('content')

      Welcome, {{ $name }}

@stop
```

### CSS Inlining

[](#css-inlining)

`` and `` are automatically inlined.

The location of your `` `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`.

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

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity75

Established project with proven stability

 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 ~40 days

Recently: every ~0 days

Total

31

Last Release

2349d ago

Major Versions

v0.7.0 → v7.0.12019-11-08

v7.9 → v8.02019-12-05

v8.9 → v9.0.12019-12-07

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8781182?v=4)[Bryan Miller](/maintainers/bryanjamesmiller)[@bryanjamesmiller](https://github.com/bryanjamesmiller)

---

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 (29 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/bryanjamesmiller-laravel-inky/health.svg)

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

###  Alternatives

[fedeisas/laravel-mail-css-inliner

Inline the CSS of your HTML emails using Laravel

5974.6M3](/packages/fedeisas-laravel-mail-css-inliner)[s-ichikawa/laravel-sendgrid-driver

This library adds a 'sendgrid' mail driver to Laravel.

4139.3M1](/packages/s-ichikawa-laravel-sendgrid-driver)[laravel-notification-channels/discord

Laravel notification driver for Discord.

2371.3M11](/packages/laravel-notification-channels-discord)[tzsk/sms

A robust and unified SMS gateway integration package for Laravel, supporting multiple providers.

320244.3k6](/packages/tzsk-sms)[therobfonz/laravel-mandrill-driver

Mandrill Driver for Laravel

773.5M](/packages/therobfonz-laravel-mandrill-driver)[erag/laravel-disposable-email

A Laravel package to detect and block disposable email addresses.

226102.4k](/packages/erag-laravel-disposable-email)

PHPackages © 2026

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