承接 ahmedsamy/hype-mailchimp-bundle 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

ahmedsamy/hype-mailchimp-bundle

最新稳定版本:v2.0

Composer 安装命令:

composer require ahmedsamy/hype-mailchimp-bundle

包简介

Mailchimp V2.0 API Object Oriented wrapper

README 文档

README

Latest Version on Packagist

Symfony2.x bundle for MailChimp API V2 and Export API API V1 Wrapper bundle that makes accessing Mailchimp functions easily in object oriented using method chaining

License

HypeMailChimp bundle released under MIT LICENSE

#Supported API Methods

Campaigns related

  1. campaigns/create
  2. campaigns/content
  3. campaigns/list
  4. campaigns/delete
  5. campaigns/pause
  6. campaigns/ready
  7. campaigns/replicate
  8. campaigns/ready
  9. campaigns/resume
  10. campaigns/send
  11. campaigns/send-test
  12. campaigns/segment-test
  13. campaigns/schedule
  14. campaigns/schedule-batch
  15. campaigns/unschedule
  16. campaigns/update

Lists related

  1. lists/list
  2. lists/abuse-reports
  3. lists/activity
  4. lists/subscribe
  5. lists/unsubscribe
  6. lists/member-info
  7. lists/interest-groupings
  8. lists/interest-grouping-add
  9. lists/interest-grouping-del
  10. lists/interest-grouping-update
  11. lists/interest-group-add
  12. lists/interest-group-update
  13. lists/interest-group-del
  14. lists/segments
  15. lists/segment-test

Templates related

  1. templates/add
  2. templates/list
  3. templates/del
  4. templates/info
  5. templates/undel

Export API

  1. list
  2. campaignSubscriberActivity

Helper related

  1. helper/ping
  2. helper/generate-text

Need support for a method not on the list submit an issue

Setup

Step 1: Download HypeMailchimp using composer

Add HypeMailchimp in your composer.json:

{ "require": { "ahmedsamy/hype-mailchimp-bundle": "dev-master" } }

Now tell composer to download the bundle by running the command:

$ php composer.phar update "ahmedsamy/hype-mailchimp-bundle"

Composer will install the bundle to your project's vendor/ahmedsamy/hype directory.

Step 2: Enable the bundle

Enable the bundle in the kernel:

<?php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new Hype\MailchimpBundle\HypeMailchimpBundle(), ); }

Step 3: Add configuration

# app/config/config.yml hype_mailchimp: api_key: xxxxxxx-us5 default_list: xxxxxxxx ssl: true #optional configuring curl connection

Usage

Using service

<?php $mailchimp = $this->get('hype_mailchimp'); ?>

##Examples

###Create new campaign

<?php $mc = $this->get('hype_mailchimp'); $data = $mc->getCampaign()->create('regular', array( 'list_id' => '93419bbdc0', 'subject' => 'test created subject', 'from_email' => 'ahmed.samy.cs@gmail.com', 'from_name' => 'Ahmed Samy', 'to_name' => 'fans' ), array( 'html' => '<h5>Html content</h5>', 'sections' => array(), 'text' => 'test', 'url' => 'http://www.example.com', 'archive' => 'test' )); var_dump($data); ?>

###Delete existing campaign

<?php $mc = $this->get('hype_mailchimp'); $data = $mc->getCampaign() ->setCi('1088b4ed65') ->del(); var_dump($data); ?>

###Send campaign

<?php $mc = $this->get('hype_mailchimp'); $data = $mc->getCampaign() ->setCi('1088b4ed65') ->send(); var_dump($data); ?>

###Subscribe new user to list

<?php $mc = $this->get('hype_mailchimp'); $data = $mc->getList() ->subscribe('moneky@suitMonkry.com'); var_dump($data); ?>

Note that the user will be subscribed to the default list set in config.yml. If you want to change the list for this time only, you can use

<?php $mc = $this->get('hype_mailchimp'); $data = $mc->getList() ->setListId('xxxxxxx') ->addMerge_vars( array( 'mc_notes' => 'test notes' )) ->subscribe('moneky@suitMonkry.com'); ?>

ahmedsamy/hype-mailchimp-bundle 适用场景与选型建议

ahmedsamy/hype-mailchimp-bundle 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 435.39k 次下载、GitHub Stars 达 53, 最近一次更新时间为 2026 年 01 月 04 日, 在 PHP 生态内属于活跃度较高的组件。

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

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

围绕 ahmedsamy/hype-mailchimp-bundle 我们能提供哪些服务?
定制开发 / 二次开发

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

BUG 修复 & 性能优化

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

项目外包 & 长期维护

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

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

统计信息

  • 总下载量: 435.39k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 54
  • 点击次数: 23
  • 依赖项目数: 2
  • 推荐数: 0

GitHub 信息

  • Stars: 53
  • Watchers: 5
  • Forks: 21
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04