定制 churnbee/php-lib 二次开发

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

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

churnbee/php-lib

Composer 安装命令:

composer require churnbee/php-lib

包简介

A PHP 5.3 library for sending events to the churnbee.com service.

关键字:

README 文档

README

ChurnBee php API integration library. Visit official page for more information

Requirements

This module has no external dependencies.

Installing with Composer

Define Your Dependencies

We recommend installing this package with Composer. Add the following dependencies to your projects composer.json file:

    "require": {
        "churnbee/php-lib": "dev-master"
    }

Then, on the command line:

curl -s http://getcomposer.org/installer | php
php composer.phar install

Use the generated vendor/autoload.php file to autoload the library classes.

Installing without Composer

Place the ChurnBee files in the include_path as specified in your php.ini file or place it in the same directory as your PHP scripts. Alternatively include all files:

require_once("ChurnBee/Library/CBConf.php");
require_once("ChurnBee/Library/ChurnBeeException.php");
require_once("ChurnBee/Library/CurlUtil.php");
require_once("ChurnBee/Library/ChurnBee.php");

Basic Usage Example

Full event list and their arguments can be found here

<?php
require_once 'vendor/autoload.php';
$options = array("accessToken"=>"change_me");

$cb = new ChurnBee\Library\ChurnBee($options);

// Send registration event
$cb->register("MyUserId","MyPlan");

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2013-11-22

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固