PHPackages                             jacksuzuki/laravel-mjml - 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. jacksuzuki/laravel-mjml

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

jacksuzuki/laravel-mjml
=======================

A package that enables using MJML with Laravel Mailables.

0.3.2(6y ago)038MITPHP

Since May 3Pushed 6y agoCompare

[ Source](https://github.com/jacksuzuki/laravel-mjml)[ Packagist](https://packagist.org/packages/jacksuzuki/laravel-mjml)[ RSS](/packages/jacksuzuki-laravel-mjml/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (4)Versions (16)Used By (0)

Laravel MJML
============

[](#laravel-mjml)

Build responsive e-mails easily using MJML and Laravel Mailables.

### MJML

[](#mjml)

MJML is an awesome tool from MailJet that allows us to create responsive emails very easily. For more information on how to use it, head to their documentation [here](https://mjml.io/documentation/#mjml-guides)

Installation
------------

[](#installation)

To install this package, require this package using composer as follows:

`composer require asahasrabuddhe/laravel-mjml`

After composer installs the packages and all the dependencies, publish the package configuration using artisan command:

`php artisan vendor:publish`

Select the laravel-mjml in the list. You will also need to install the MJML CLI:

`npm install --save mjml`

Getting Started
---------------

[](#getting-started)

1. Create a view containing MJML in your resources/views directory.
2. Create a mailable class using artisan command: `php artisan make:mail MJMLEmail`
3. In the mailable class, replace

    ` use Illuminate\Mail\Mailable;`

    with

    `use Asahasrabuddhe\LaravelMJML\Mail\Mailable;`
4. In the build method, use: `$this->mjml('view.name');`

Configuration
-------------

[](#configuration)

By default, the package will automatically detect the path of the MJML CLI installed locally in the project. In case this does not happen or the MJML CLI is installed globally, please update the configuration file likewise.

That's it! You have successfully installed and configured the MJML package for use. Just create new views and use them in the mailables class.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 88% 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 ~90 days

Recently: every ~134 days

Total

7

Last Release

2387d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c152e92ce7a21b1795e920dd1d54566b15d02e22165034d6ed51bc1df2f98ec9?d=identicon)[Fiveneeds](/maintainers/Fiveneeds)

---

Top Contributors

[![asahasrabuddhe](https://avatars.githubusercontent.com/u/25657923?v=4)](https://github.com/asahasrabuddhe "asahasrabuddhe (22 commits)")[![odinti](https://avatars.githubusercontent.com/u/12376435?v=4)](https://github.com/odinti "odinti (2 commits)")[![MadWillow](https://avatars.githubusercontent.com/u/16151453?v=4)](https://github.com/MadWillow "MadWillow (1 commits)")

### Embed Badge

![Health badge](/badges/jacksuzuki-laravel-mjml/health.svg)

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

###  Alternatives

[jolicode/jolinotif

Send desktop notifications on Windows, Linux, MacOS.

1.4k11.6M41](/packages/jolicode-jolinotif)[sly/notification-pusher

Standalone PHP library for easy devices notifications push.

1.2k2.8M15](/packages/sly-notification-pusher)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[notfloran/mjml-bundle

Symfony bundle for MJML

1142.1M2](/packages/notfloran-mjml-bundle)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

728272.9k20](/packages/civicrm-civicrm-core)[asahasrabuddhe/laravel-mjml

A package that enables using MJML with Laravel Mailables.

128530.9k](/packages/asahasrabuddhe-laravel-mjml)

PHPackages © 2026

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