ujamii/neos-mailjetsubscription 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

ujamii/neos-mailjetsubscription

最新稳定版本:v0.2.2

Composer 安装命令:

composer require ujamii/neos-mailjetsubscription

包简介

Adds 2 new form finishers for the form builder to sub/unsub to mailjet mailing list

README 文档

README

This package adds two new form finishers for the Neos Form Builder to subscribe and unsubscribe users to/from Mailjet mailing lists.

Installation

The package can be installed via Composer:

composer require ujamii/neos-mailjetsubscription

Requirements

  • Neos CMS 8.x+
  • t3n/mailjet-adapter

Configuration

Add your Mailjet API credentials to your NEOS Configuration/Settings.yaml:

# Settings.yaml
t3n:
    MailJetAdapter:
        mailjet:
            clientConfiguration:
                apiKey: 'your-api-key'
                apiSecret: 'your-api-secret'

Features

This package provides:

  1. MailjetSubscribeFinisher: Adds a contact to one or more Mailjet mailing list
  2. MailjetUnsubscribeFinisher: Removes a contact from one or more Mailjet mailing list
  3. MailjetListSelector: A new form element which shows a set of lists to subscribe to/unsubscribe from.

Usage

Form Builder Integration

After installing the package, the two new finishers will be available in the Form Builder in the Neos backend as well as a new form type for the Mailjet ContactLists the user wants to sub/unsubscribe. Backend editors have to chose from all available lists which ones should be shown in frontend. The form field always has the name lists.

Subscribe Finisher Configuration

The Finisher expects 2 field ids to be in the form: email and lists.

Unsubscribe Finisher Configuration

The Finisher expects 2 field ids to be in the form: email and lists.

DataSource for List Selection

The package includes a DataSource for selecting Mailjet lists in the Neos backend. This allows editors to choose from available lists when configuring forms.

License

This package is licensed under the GPLv3 license.

Contribution

Contributions are welcome! Please feel free to submit a Pull Request.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2025-04-10