Join 25,000+ Laravel Developers and join the free Laravel Newsletter
Maizzle Email Framework
News / August 03, 2018

Maizzle Email Framework

Maizzle is a new email framework for rapid HTML email development. It’s a static site generator tailored to email that’s more like a project than a package you install.

Maizzle is an email framework made for developers. It brings together open source tools such as Jigsaw and TailwindCSS, to create a solid workflow for HTML email development.

You can clone Maizzle on your machine and start creating emails using Tailwind configuration and blade templates! Since Jigsaw powers it, you can take advantage of master layouts, partials, collections, and Laravel mix.

One of the coolest features, in my opinion, is using Tailwind, the utility-first CSS framework to rapidly prototype HTML emails:

Maizzle uses the TailwindCSS utility-first CSS framework, so you can rapidly prototype HTML emails by just adding classes to your markup. Once satisfied with the dev preview, run the production script to generate clean HTML with inlined styles and many other email-specific adjustments (configurable).

You can configure your branding for all your emails using the tailwind.js file in the project, and the production emails will only include the CSS you use in your templates. You can control the output too, whether you choose to minify the HTML, make it pretty to send along to another developer, and to either include inline CSS or attributes.

Another feature that stuck out to me was RSS to Email support. You can “use collections and Jigsaw’s events bus to populate emails with content from an RSS feed or an API.”

The last feature I’ll mention is the ability to take screenshots of your emails using Puppeteer. You can even configure which devices that Puppeteer will use to take screenshots:

<?php

'screenshots' => [
    'devices' => [
        'iPad Mini',
        'iPhone 6',
    ],
    'type' => 'png',
    'quality' => 100,
],

Check out the Maizzle Email Framework today—it looks fantastic!

This appeared first on Laravel News
Laravel News Partners

Newsletter

Join the weekly newsletter and never miss out on new tips, tutorials, and more.