PHPackages                             mendicm/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. mendicm/laravel-inky

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

mendicm/laravel-inky
====================

Foundation Inky email templates in Laravel

0.3.1(7y ago)16.1k1MITPHP

Since Aug 26Pushed 6y ago1 watchersCompare

[ Source](https://github.com/mendicm/laravel-inky)[ Packagist](https://packagist.org/packages/mendicm/laravel-inky)[ RSS](/packages/mendicm-laravel-inky/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (9)Versions (6)Used By (0)

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

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 mendicm/laravel-inky:0.3.0

```

Laravel versions below 5.5:
---------------------------

[](#laravel-versions-below-55)

Once installed, you'll need to register the service provider. Open `config/app.php` and add to the `providers` key:

```
Petecoop\LaravelInky\InkyServiceProvider::class

```

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`.

Licence
=======

[](#licence)

[MIT Licence](LICENCE)

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 57.1% of commits — single point of failure

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

Total

5

Last Release

2555d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4120546?v=4)[mendicm](/maintainers/mendicm)[@mendicm](https://github.com/mendicm)

---

Top Contributors

[![petecoop](https://avatars.githubusercontent.com/u/1655361?v=4)](https://github.com/petecoop "petecoop (16 commits)")[![mendicm](https://avatars.githubusercontent.com/u/4120546?v=4)](https://github.com/mendicm "mendicm (12 commits)")

---

Tags

laravelfoundationinky

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M2.9k](/packages/craftcms-cms)[moonshine/moonshine

Laravel administration panel

1.3k239.9k76](/packages/moonshine-moonshine)[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[tallstackui/tallstackui

TallStackUI is a powerful suite of Blade components that elevate your workflow of Livewire applications.

721160.4k12](/packages/tallstackui-tallstackui)[tightenco/jigsaw

Simple static sites with Laravel's Blade.

2.3k449.3k30](/packages/tightenco-jigsaw)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9772.3M122](/packages/roots-acorn)

PHPackages © 2026

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