adrianjean/craft-formie-mautic
Composer 安装命令:
composer require adrianjean/craft-formie-mautic
包简介
CraftCMS Formie integration for the Mautic email marketing platform.
README 文档
README
A CraftCMS Verbb Formie integration module for the Mautic email marketing Platform. Tested with Mautic 6.x and 7.x. It allows Formie form submissions to automatically create or update contacts in Mautic, map custom fields, apply tags/segments, and handle opt-in consent. PRs and suggestions are welcome!
Requirements
| System | Version |
|---|---|
| CraftCMS | 5.x |
| Formie | 3.x |
| Mautic | 6.x or 7.x API |
| PHP | 8.1+ |
Mautic Setup
Ideally you have a Segment created with a Campaign that can ingest the contact and process it. If not, the contact will simply be added to Mautic.
Installation
At this time the module is distributed via GitHub only, but can be installed with Composer using the repository URL.
1. Install the module with composer
composer require adrianjean/craft-formie-mautic
2. Enable the Module in CraftCMS
Add to config/app.php:
'modules' => [ 'formie-mautic' => [ 'class' => \modules\formiemautic\FormieMauticModule::class, ], ], 'bootstrap' => ['formie-mautic'],
Configuration
- Generate the private and public keys in Mautic: Mautic → Settings → Configuration → API Credentials
- Configure Formie: Formie → Settings → Integrations, add a new Mautic Integration.
- Add the required credentials:
- Base URL — this is the URL to your Mautic 6.x or 7.x install.
- Public Key — generated in step 1.
- Private Key — generated in step 1.
You can use environment variables in your CraftCMS .env file like the following, or use your own:
$MAUTIC_BASE_URL
$MAUTIC_PUBLIC_KEY
$MAUTIC_PRIVATE_KEY
Usage
- Create a Formie form
- Add your fields + optional opt-in consent
- Go to Form → Integrations
- Add the Mautic Integation you created
- Click the refresh arrows, and then map your fields to Mautic fields
- Choose a Mautic Segment to assign contacts to
- Submit your form and verify contact creation/update in Mautic
Features
- Map Formie fields to Mautic custom fields
- Opt-in / consent checkbox
- Automatically assign a Mautic segment to new contacts
- Works with Mautic 6.x and 7.x API - Might work with Mautic 5.x but untested.
Known Issues or Future Functionality
No issues or features at this time.
adrianjean/craft-formie-mautic 适用场景与选型建议
adrianjean/craft-formie-mautic 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 0 次下载、GitHub Stars 达 0, 最近一次更新时间为 2025 年 12 月 06 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 adrianjean/craft-formie-mautic 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 adrianjean/craft-formie-mautic 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 29
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: CC
- 更新时间: 2025-12-06