承接 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
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

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