concept7/statamic-mailerlite
Statamic MailerLite integrates your site with MailerLite, letting you connect newsletter signups and manage subscribers from Statamic. A simple addon for syncing forms and audience data without extra glue code.
The concept7/statamic-mailerlite addon wires Statamic form submissions into MailerLite, so the fastest path is a newsletter/signup form you already have.
composer require concept7/statamic-mailerlitephp artisan vendor:publish --tag=statamic-mailerlite (tag may vary by version).MAILERLITE_API_KEY=... to .env. The key is a paid-plan MailerLite API token, not the legacy v2 key.resources/forms/<handle>.yaml and add a mailerlite entry under integrations.First use case to validate the wiring: a single email field posting to a newsletter form, subscribing to one group. Confirm the subscriber appears in MailerLite, then layer on field mappings and multiple groups.
Single-group signup (baseline). Configure the integration with the group identifier and map the email field. This is the simplest possible path and a good smoke test before touching segmentation.
Multi-group selection (new in 0.0.5). The integration now accepts multiple groups, so a submission can land in several MailerLite groups at once. Typical patterns:
Field mapping. Map Statamic form fields to MailerLite subscriber fields (email is required; name, company, custom fields are optional). Keep the mapping in the form YAML so it travels with the form definition and is reviewable in version control.
Compose with other integrations. The MailerLite integration is one entry in the integrations array. Leave the built-in email integration in place so the site owner still gets a notification, and let MailerLite handle the audience side.
Idempotency with duplicates. Decide upfront whether re-submitting should update an existing subscriber or be a no-op. MailerLite dedupes by email, but group membership and custom fields can still be updated on repeat submissions.
group → groups change. 0.0.5 introduces multi-group support. If your existing config uses the singular key, verify it still works after upgrading and migrate to the plural form. Test one subscription end-to-end after any bump, since this is a 0.0.x package where BC is not guaranteed.How can I help you explore Laravel packages today?