定制 concept7/statamic-mailerlite 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

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.

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-07-13

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固