spatie/laravel-mailcoach-unlayer
Optional add-on for Mailcoach that integrates the free Unlayer drag-and-drop email editor. Create and edit beautiful newsletters with a visual builder directly inside Mailcoach.
.env or Laravel’s vault).mailcoach_templates table for metadata.composer require spatie/laravel-mailcoach-unlayer
php artisan vendor:publish --provider="Spatie\MailcoachUnlayer\MailcoachUnlayerServiceProvider"
resources/views/vendor/mailcoach-unlayer)..env:
UNLAYER_API_KEY=your_key_here
config/mailcoach.php:
'editor' => \Spatie\MailcoachUnlayer\MailcoachUnlayerEditor::class,
spatie/laravel-mailcoach-tailwind). Prioritize installation order or namespace conflicts.mix-manifest.json)..env and Unlayer dashboard.| Failure Scenario | Impact | Mitigation |
|---|---|---|
| Unlayer API downtime | Template editing/preview broken | Fallback to Mailcoach’s default editor |
| Unlayer free-tier quota exceeded | Limited template complexity | Upgrade to Unlayer Pro or optimize templates |
| Asset loading failures | Editor UI broken | Verify asset publishing and CDN delivery |
| Mailcoach-Unlayer version mismatch | Integration breaks | Pin versions in composer.json |
| Custom Blade syntax unsupported | Templates render incorrectly | Document supported syntax or use inline HTML |
How can I help you explore Laravel packages today?