Hermod Mail is pre-v0.1 — release acceptance is still in progress Read the release status →
Getting started

Install in Laravel

Hermod Mail is a pre-v0.1 Composer package for Laravel. Until the first package release is published, use the repository development instructions instead of treating this command as generally available.

01 — INSTALL
$ composer require jml/hermod-mail
$ php artisan hermod-mail:install
02 — SEND A TYPED MAILABLE
use Jml\HermodMail\Data\OrderReceiptData;
use Jml\HermodMail\Mail\OrderReceiptMail;

$data = new OrderReceiptData(/* validated order fields */);
Mail::to($customer)->send(new OrderReceiptMail($data));
03 — INSTALL OR PUBLISH TEMPLATES
php artisan hermod-mail:install
php artisan hermod-mail:publish order-receipt
Note Hermod supplies provider-neutral Mailables and views. Configure and operate the mail transport in your Laravel application; Hermod does not provide a production sending API.

Supported surfaces

Laravel package
jml/hermod-mail
Blade output
publishable views
Local Studio
preview · theme · export

Build Laravel email locally

Start with eight MIT Core templates. Pro licensing and stable release are still prelaunch.

Docs Contact