定制 navvygator/manychat-php-sdk 二次开发

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

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

navvygator/manychat-php-sdk

最新稳定版本:v1.0.0

Composer 安装命令:

composer require navvygator/manychat-php-sdk

包简介

Unofficial PHP SDK for ManyChat API

README 文档

README

This is unofficial SDK based on the ManyChat public API: https://api.manychat.com/swagger

Requirements

  • php 7.1+

Installing

The recommended way to install Guzzle is through Composer.

composer require navvygator/manychat-php-sdk

Samples

Initialize client

$apiKey = '12345678987654321:aabbccddeeff11223344ffddbbccaa';
$client = new ManychatClient($apiKey);

Work with page-scoped API

$client->page()->getInfo(); //get page's info
$client->page()->createTag('new API tag'); //create new tag
$client->page()->createBotField('New bot field', 'number', 'test bot field', 88);

Work with subscriber-scoped API

$subscriber = $client->subscriber()->findByName('John Smith'); // find subscriber by full name
$subscriber = $client->subscriber()->getInfo(257545534557); //get the subscriber's info by subscriber id
$client->subscriber()->addTagByName(257545534557, 'new API tag'); // apply tag to subscriber

Work with sending API

$client->sender()->sendContent(257545534557, $content); // send dynamic content to the subscriber
$client->sender()->sendFlow(257545534557, 'flow_123'); //send flow to the subscriber

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-11-08

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固