concept7/statamic-mailerlite
Composer 安装命令:
composer require 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.
README 文档
README
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.
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-07-13