simpleweb/silverpopphp 问题修复 & 功能扩展

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

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

simpleweb/silverpopphp

Composer 安装命令:

composer require simpleweb/silverpopphp

包简介

Silverpop API in php

README 文档

README

PHP client library for the Silverpop API.

Note. This project is not actively maintained. I suggest if it is useful, you fork your own version of it.

Pull requests that are non-breaking will be merged.

Installation

Installation via composer . Create a composer.json file in the root folder of you project and paste the code below.

{ "require": { "simpleweb/silverpopphp": "master-dev" } }

With composer installed, just run php composer.phar install or simply composer install if you did a global install.

Usage

<?php // Include the library require_once 'vendor/autoload.php'; // Require the Silverpop Namespace use Silverpop\EngagePod; // Set some useful variables $databaseID = 'XXX'; $templateID = 'XXX'; $contactsList = 'XXX'; // Initialize the library $silverpop = new EngagePod(array( 'username' => 'XXX', 'password' => 'XXX', 'engage_server' => 4, )); // Fetch all contact lists $lists = $silverpop->GetLists(18); var_dump($lists); // Add a record to a contact $recipientID = $silverpop->addContact( $databaseID, true, array( 'name' => 'christos', 'email' => 'chris@simpleweb.co.uk', ) ); echo $recipientID; // Create a new mailing and send in 1 minute $mailingID = $silverpop->sendEmail( $templateID, $databaseID, 'API Mailing Test - ' . date("d/m/Y H:i:s", time()), time() + 60, ); echo $mailingID;

统计信息

  • 总下载量: 110.17k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 35
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 35
  • Watchers: 13
  • Forks: 47
  • 开发语言: PHP

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固