A Statamic addon that automatically subscribes form submissions to MailerLite, with per-form configuration for subscriber groups and field mapping, manageable from the Control Panel.
- PHP 8.4+
- Statamic 6
- Laravel 12 or 13
You can install the addon via composer:
composer require concept7/statamic-mailerliteAdd your MailerLite API key in the Control Panel under the addon's settings (Tools → Addons → Statamic MailerLite). Without an API key, submissions are silently skipped.
Every form's Configure page in the Control Panel gets a MailerLite section:
- Enable MailerLite sync — toggle syncing for the form on or off.
- Groups — pick the MailerLite groups subscribers are added to, loaded live from your account.
- Field mapping — map form fields to MailerLite subscriber fields. Map one field to
email; submissions without an email value are skipped.
The settings are saved on the form itself, so they are version controlled and deployed along with your other form YAML.
When a form submission is created, a listener checks the form's MailerLite settings. If syncing is enabled and a field mapping is present, a queued job sends the subscriber — with the mapped fields, the selected group, and the submitter's IP address (which MailerLite uses as a consent and spam signal) — to MailerLite. Make sure a queue worker is running (or use the sync queue driver) for subscribers to be created.
composer testPlease see CHANGELOG for more information on what has changed recently.
The MIT License (MIT). Please see License File for more information.