定制 seansch/interspire 二次开发

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

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

seansch/interspire

最新稳定版本:v1.1.0

Composer 安装命令:

composer require seansch/interspire

包简介

Interspire API Wrapper for Laravel 5

README 文档

README

Installation

First, pull in the package through Composer.

"require": {
    "seansch/interspire": "dev-master"
}

And then, if using Laravel 5, include the service provider within app/config/app.php.

'providers' => [
    'Seansch\Interspire\InterspireServiceProvider'
];

And, for convenience, add a facade alias to this same file at the bottom:

'aliases' => [
    'Interspire' => 'Seansch\Interspire\InterspireFacade'
];

Publish the config file app/config/interspire.php and edit with your details

php artisan vendor:publish

Usage

Returns bool based on success

    $result = Interspire::addSubscriberToList($email, $list_id, array $fields);
    $result = Interspire::deleteSubscriber($email, $list_id)
    $result = Interspire::isOnList($email, $list_id)
    $result = Interspire::getCustomFields($list_id)

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-05-13