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

ActiveLibrary

nysos3/laravel-inky
===================

Foundation Inky email templates in Laravel

0.5.10(2y ago)07.2kMITPHP

Since Aug 26Pushed 2y ago1 watchersCompare

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

READMEChangelog (8)Dependencies (9)Versions (20)Used By (0)

[![Build Status](https://camo.githubusercontent.com/6fdc6afa5abe7ddc2b21fab50cb15966678fa9333e8e9656e1e4f45725347cbf/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f70657465636f6f702f6c61726176656c2d696e6b792e737667)](https://travis-ci.org/petecoop/laravel-inky)

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

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 nysos3/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

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 68.2% 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 ~155 days

Recently: every ~254 days

Total

17

Last Release

1060d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/420d754ff5b2358c5f4ecf9e8421a3d87c9438bc23aac56609ead0abccfccc17?d=identicon)[nysos3](/maintainers/nysos3)

---

Top Contributors

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

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

###  Alternatives

[proengsoft/laravel-jsvalidation

Validate forms transparently with Javascript reusing your Laravel Validation Rules, Messages, and FormRequest

1.1k2.3M49](/packages/proengsoft-laravel-jsvalidation)[glhd/aire

Modern Laravel form builder. Remembers old input, retrieves error messages and comes with beautiful Tailwind-based markup out of the box.

545265.3k7](/packages/glhd-aire)[torchlight/torchlight-laravel

A Laravel Client for Torchlight, the syntax highlighting API.

120452.8k11](/packages/torchlight-torchlight-laravel)[dragon-code/pretty-routes

Pretty Routes for Laravel

10058.7k4](/packages/dragon-code-pretty-routes)[bjuppa/laravel-blog

Add blog functionality to your Laravel project

483.3k2](/packages/bjuppa-laravel-blog)[laragear/poke

Keep your forms alive, avoid TokenMismatchException by gently poking your Laravel app

2211.5k](/packages/laragear-poke)

PHPackages © 2026

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