qoraiche/laravel-mail-editor
MailEclipse adds a web UI to create, preview, and manage Laravel mailables without the CLI. Edit HTML/Markdown emails with a WYSIWYG editor, use 20+ ready-made templates, send test emails, and generate fake data for previews—great for beginners.
Start by installing the package via Composer and running the install command:
composer require qoraiche/laravel-mail-editor
php artisan laravel-mail-editor:install
This publishes the config (config/maileclipse.php) and sets up routes at /maileclipse (configurable). First use case: create a new mailable in your app, then visit /maileclipse in your browser to preview, edit, and test it with live data — ideal for frontend developers or Laravel beginners iterating on email templates without touching CLI.
routes/maileclipse.php (auto-published), e.g., wrap routes in App::environment('local').use_factories in config/maileclipse.php to auto-populate mailable properties using models and factories — critical for realistic testing with relationships loaded per relations.relation_depth./maileclipse/mailables, select a mailable, adjust data fields (using Faker placeholders), then “Send Test” to a real email address for final validation.'display_as_subject' => true to config/maileclipse.php if you want subjects shown instead of class names — otherwise, the old behavior persists silently.randomElement() must receive arrays) — v3.5.1 fixed JS errors from malformed Faker data.routes/maileclipse.php (not via middleware in web.php) to avoid accidental public exposure.relations.relation_depth in config/maileclipse.php (max 5). Older configs using relation_depth top-level key must be migrated to the nested relations structure.resources/views/vendor/maileclipse/... or your custom mailable’s Blade template).How can I help you explore Laravel packages today?