定制 iqual/iq_content_publishing_mautic 二次开发

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

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

iqual/iq_content_publishing_mautic

Composer 安装命令:

composer require iqual/iq_content_publishing_mautic

包简介

Provides Mautic email integration for the Content Publishing framework. Enables creating and sending Mautic emails from Drupal node content using AI-generated newsletter content.

README 文档

README

Provides Mautic email integration for the Content Publishing framework. This module enables creating and sending Mautic email campaigns from Drupal node content, leveraging AI-generated newsletter content.

Features

  • AI-Powered Newsletter Generation: Automatically transforms Drupal node content into professional email newsletters with compelling subject lines, headers, and call-to-action elements.
  • Mautic API Integration: Seamless connection to your Mautic instance via the Mautic API module.
  • Template Support: Use existing Mautic emails as design templates with {ai_content} token placement for content injection.
  • Standalone Mode: Automatically generates clean, responsive HTML email documents when no template is configured.
  • Segment Targeting: Send emails to specific Mautic segments.
  • Flexible Publishing: Create emails as drafts in Mautic or send them immediately upon publishing.

Requirements

Installation

Install via Composer:

composer require iqual/iq_content_publishing_mautic

Enable the module:

drush en iq_content_publishing_mautic

Configuration

1. Configure Mautic API Connection

Before using this module, you must configure a Mautic API connection:

  1. Navigate to Administration » Configuration » Web services » Mautic API (/admin/config/services/mautic/api)
  2. Add a new Mautic API connection with your Mautic instance URL and API credentials

2. Create a Publishing Platform Configuration

  1. Navigate to Administration » Configuration » Content Publishing » Platforms (/admin/config/content-publishing/platforms)
  2. Add a new platform configuration
  3. Select Mautic as the platform type

3. Platform Credentials

  • Mautic API Connection: Select the configured Mautic API connection

4. Platform Settings

Setting Description
HTML text format The text format for the email HTML body editor
Segment The Mautic segment to send emails to
From name Sender name (optional, uses Mautic default if empty)
From email address Sender email address (optional)
Reply-to email Reply-to address (optional)
Email type Choose between "Segment (List) email" or "Template email"
Send immediately When enabled, list emails are sent immediately upon creation

5. Template Configuration (Optional)

To use an existing Mautic email as a design template:

  1. Enter the Template email ID in the "Email layout template" section
  2. The template HTML will be loaded and can be edited
  3. Place a {ai:*} token where a AI-generated content should be inserted
  4. Available tokens include: {ai:title}, {ai:main_title}, {ai:subtitle}, {ai:summary}, {ai:cta_text}, {ai:cta_url}

Output Schema

The AI generates the following fields for each email:

Field Description
subject Email subject line (max 150 characters)
name Internal email name for Mautic dashboard
title Email title (used as main header depending on template)
main_title Main title/header that grabs attention
subtitle Secondary header providing additional context
summary Brief teaser of the email content
content Main content with markdown formatting support
cta_text Call-to-action button text
cta_url Call-to-action URL
html_body The complete HTML body for the email
plain_text Plain-text alternative for non-HTML clients

Usage

  1. Navigate to a node you want to publish
  2. Use the Content Publishing interface to select your Mautic platform configuration
  3. Generate AI content based on the node
  4. Review and edit the generated newsletter content
  5. Publish to create/send the email in Mautic

Permissions

This module uses the administer content publishing permission from the base Content Publishing module.

Maintainers

License

GPL-2.0-or-later

iqual/iq_content_publishing_mautic 适用场景与选型建议

iqual/iq_content_publishing_mautic 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 58 次下载、GitHub Stars 达 0, 最近一次更新时间为 2026 年 02 月 27 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「newsletter」 「drupal」 「Marketing Automation」 「Mautic」 「content publishing」 「email campaign」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 iqual/iq_content_publishing_mautic 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 iqual/iq_content_publishing_mautic 我们能提供哪些服务?
定制开发 / 二次开发

基于 iqual/iq_content_publishing_mautic 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2026-02-27