concept7/statamic-mailerlite

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.

Maintainers

Package info

github.com/concept7/statamic-mailerlite

pkg:composer/concept7/statamic-mailerlite

Transparency log

Fund package maintenance!

Concept7

Statistics

Installs: 3

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

0.0.1 2026-07-13 11:29 UTC

This package is auto-updated.

Last update: 2026-07-13 14:14:24 UTC


README

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

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.

Requirements

  • PHP 8.4+
  • Statamic 6
  • Laravel 12 or 13

Installation

You can install the addon via composer:

composer require concept7/statamic-mailerlite

Configuration

Add 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.

Usage

Every form's Configure page in the Control Panel gets a MailerLite section:

  • Enable MailerLite sync — toggle syncing for the form on or off.
  • Group — pick the MailerLite group 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.

How it works

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 and selected group — to MailerLite. Make sure a queue worker is running (or use the sync queue driver) for subscribers to be created.

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Credits

License

The MIT License (MIT). Please see License File for more information.