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

Abandoned → [rsvpify/laravel-inky](/?search=rsvpify%2Flaravel-inky)Library[Mail &amp; Notifications](/categories/mail)

petecoop/laravel-inky
=====================

Foundation Inky email templates in Laravel

0.5.2(8y ago)4456.3k↓34.5%30[5 issues](https://github.com/petecoop/laravel-inky/issues)MITPHP

Since Aug 26Pushed 1y ago3 watchersCompare

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

READMEChangelogDependencies (9)Versions (13)Used By (0)

Not Maintained
==============

[](#not-maintained)

I'd recommend using the maintained fork:  which supports the latest versions of Laravel.

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 petecoop/laravel-inky

```

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

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

40

—

FairBetter than 86% of packages

Maintenance28

Infrequent updates — may be unmaintained

Popularity42

Moderate usage in the ecosystem

Community17

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 93.9% 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 ~66 days

Recently: every ~94 days

Total

9

Last Release

3067d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1655361?v=4)[Pete Cooper](/maintainers/petecoop)[@petecoop](https://github.com/petecoop)

---

Top Contributors

[![petecoop](https://avatars.githubusercontent.com/u/1655361?v=4)](https://github.com/petecoop "petecoop (31 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/petecoop-laravel-inky/health.svg)

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

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[moonshine/moonshine

Laravel administration panel

1.3k253.1k81](/packages/moonshine-moonshine)[binarytorch/larecipe

Generate gorgeous recipes for your Laravel applications using MarkDown

2.5k2.9M17](/packages/binarytorch-larecipe)[illuminate/mail

The Illuminate Mail package.

5910.6M500](/packages/illuminate-mail)[tallstackui/tallstackui

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

725173.2k14](/packages/tallstackui-tallstackui)

PHPackages © 2026

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