承接 talentify/customerio-sdk 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

talentify/customerio-sdk

最新稳定版本:0.5.6

Composer 安装命令:

composer require talentify/customerio-sdk

包简介

README 文档

README

A basic php client for use customer.io.

QuickStart

Go and get your credentials and create a token to your workspace at: https://fly.customer.io/settings/api_credentials?keyType=app

$client = new CustomerIoClient(
    [
        'site_id' => 'string', // site_id and site_key is needed for tracking api
        'site_key' => 'string',
        'token' => 'string', // is needed for app and beta apis
    ],
    AccountRegion::US()
)

// instance your request with his requeriments (generally entities from CIO\Entity namespace)
$request = new AddOrUpdateCustomer(
    new Customer(
        new Identifier(123),
        'email@provider.com',
        1622554538,
        [
             'attributeName'  => 'string|int|boolean only',
             'name'           => 'string',
             'converted'      => false,
             'type'           => 1,
        ]
    )
);

$response = $client->execute($request);

Dev

  • install dependencies docker-compose run php composer install;
  • run tests docker-compose run php ./vendor/bin/phpunit;

Improvments roadmap:

  • request exceptions;

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-06-08