定制 studiomitte/brevo 二次开发

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

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

studiomitte/brevo

Composer 安装命令:

composer require studiomitte/brevo

包简介

Integration of newsletter SaaS solution brevo.com (formally known as sendinblue) into TYPO3 CMS

README 文档

README

This extension integrates the newsletter SaaS https://brevo.com/ into TYPO3. Currently this extension supports only the form framework of the core but it would be easy to add finishers to powermail.

Installation & Configuration

Currently this extension requires a composer based installation. Use composer req studiomitte/brevo to install it.

Head over to the extension configuration and provide all settings you need:

Extension Configuration.png

  • Basic
    • API-Key: Add your API key which you can retrieve from https://account.brevo.com/advanced/api.
    • Partner Key: currently not in use
    • Default Lists*: Add IDs of brevo contact lists which are added to every contact
  • DOI
    • Enable double optin: Please always use double opt in!
    • Page ID for redirect: Page which a user is sent to after confirming double opt in
    • DOI Template: Id of brevo template which is used for DOI mails.
  • Attributes
    • Attribute for first name: Name of attribute used for the first name
    • Attribute for last name: Name of attribute used for the last name
    • Attribute for tracking information: Name of attribute used for the tracking information

Usage

A new finisher Brevo Finisher intercepts the data of the form and adds the contact.

Example configuration can be found at EXT:brevo/Resources/Private/Example/brevo-example.form.yaml.

Finisher for EXT:form

As the fields can be different for any form, you need to provide the mapping information for all important fields:

  • Checkbox to enable: Newsletter subscription must be optional. Therefore provide the checkbox which asks the user if a newsletter should be sent.
  • Field of email address: Provide the field information which holds the email address
  • Field of First/Last name: Provide the field information which holds information about the name.
  • Additional list ids: Either provide the field information or a static comma separated list of contact lists a user should be added to.
  • Additional tracking information: This string is added to the contact and can be used just as information or by using this in the automation process to process the contact.

Additional hints

Getting started

It is a bit tricky to get everything started. For sending mails the account needs to be validated. This is documented at https://help.brevo.com/hc/en-us/articles/360016175440

In short you need

  1. At least 11 contacts. You can create any contact
  2. One campaign ready

(DOI) Double Opt-In Mails

Getting started with that is also a bit tricky for the 1st time. This is documented at https://help.brevo.com/hc/en-us/articles/211244629 but still misses some important things:

  1. The DOI template needs to be tagged with optin.
  2. The button in the DOI template for triggering the confirmation must have as link value {{ doubleoptin }}.

Override global configuration per form

The following configurations can be used to override the global settings

  -
    options:
       doiTemplateId: '14'
       defaultListIds: '12,34'
    identifier: Brevo

Author

This extension has been created by StudioMitte

StudioMitte

studiomitte/brevo 适用场景与选型建议

studiomitte/brevo 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 13.08k 次下载、GitHub Stars 达 11, 最近一次更新时间为 2023 年 09 月 20 日, 在 PHP 生态内属于活跃度较高的组件。

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

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

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

BUG 修复 & 性能优化

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

项目外包 & 长期维护

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

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

统计信息

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

GitHub 信息

  • Stars: 11
  • Watchers: 3
  • Forks: 9
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2023-09-20