xaneem/clevertap-php 问题修复 & 功能扩展

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

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

xaneem/clevertap-php

Composer 安装命令:

composer require xaneem/clevertap-php

包简介

Pushes events to your CleverTap account from your PHP application (Unofficial wrapper)

README 文档

README

Pushes events to your CleverTap account from your PHP application. An unofficial wrapper that uses the official API.

##Installation Install using Composer

composer require xaneem/clevertap-php

##Sample code Code for setting a profile and pushing an event. Please make sure you replace your Account ID and Passcode. It's available in Settings dashboard inside CleverTap.

require_once "vendor/autoload.php";

$clevertap = new \CleverTap\clevertap(
    'YOUR-ACCOUNT-ID', 
    'YOUR-PASSCODE'
);

// Setting profile and identity information
print_r(
    $clevertap->setProfile(
    	'john@example.com',
    	[
    		'Name' => 'John Doe',
    		'Category' => 'Platinum'
    	]
    )
);

// Pushing an event
print_r(
    $clevertap->pushEvent(
    	'Purchased product',
    	[
    		'Amount' => 2,
    		'Currency' => 'BTC'
    	]
    )
);

License

MIT License

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-08-09

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固