mrmarkfrench/silverpop-php-connector
Composer 安装命令:
composer require mrmarkfrench/silverpop-php-connector
包简介
A connector SDK library for applications integrating with Silverpop, including the Silverpop Universal Behavior API
关键字:
README 文档
README
A connector SDK library for applications integrating with Acoustic, formerly Silverpop, including the Universal Behavior API.
Latest Version
Release versions are available as a tagged release. If you'd prefer the latest ongoing development version, it's in the master branch.
Installation
You can install using composer or from source.
Composer
If you don't have Composer install it:
$ curl -s https://getcomposer.org/installer | php
Add this to your composer.json:
{
"require": {
"mrmarkfrench/silverpop-php-connector": "*"
}
}
Refresh your dependencies:
$ php composer.phar update
Then make sure to require the autoloader:
<?php require_once(__DIR__ . '/vendor/autoload.php'); ...
Source
Download the silverpop-php-connector source:
$ git clone https://github.com/mrmarkfrench/silverpop-php-connector
And then require all bootstrap files:
<?php require_once "vendor/autoload.php"; ...
Quickstart
curl -s http://getcomposer.org/installer | php
echo '{
"require": {
"mrmarkfrench/silverpop-php-connector": "*"
}
}' > composer.json
php composer.phar install
curl https://raw.githubusercontent.com/mrmarkfrench/silverpop-php-connector/master/apiTest.php > apiTest.php
# Replace indicated values with your own credentials
echo '[silverpop]
baseUrl = "http://api.pilot.silverpop.com"
client_id = "YOUR_CLIENT_ID"
client_secret = "YOUR_CLIENT_SECRET"
refresh_token = "YOUR_REFRESH_TOKEN"
username = "YOUR_USERNAME"
password = "YOUR_PASSWORD"
notify_email = "EMAIL_ADDRESS_TO_NOTIFY"
[sftp_config]
sftpUrl = "YOUR_SFTP_URL.silverpop.com"
mail_from = "YOUR_EMAIL_FROM"
mail_to = "SEND_EMAIL_TO"
mail_cc = ""
mail_bcc = ""' > authData.ini
php apiTest.php
Contributions and Adding Functionality
The SDK currently supports only a subset of the API endpoints offered by Silverpop. New endpoints are added as the primary author's projects need them, but you are welcome to add your own! If your project requires an endpoint not yet supported, please feel free to fork this repository and add functions as necessary. The existing functions should give you a solid framework to build on, and your pull requests are welcome.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request
mrmarkfrench/silverpop-php-connector 适用场景与选型建议
mrmarkfrench/silverpop-php-connector 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 59.18k 次下载、GitHub Stars 达 11, 最近一次更新时间为 2015 年 03 月 15 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「Silverpop」 「Acoustic」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 mrmarkfrench/silverpop-php-connector 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 mrmarkfrench/silverpop-php-connector 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 mrmarkfrench/silverpop-php-connector 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
统计信息
- 总下载量: 59.18k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 11
- 点击次数: 12
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-03-15