定制 manychat/manychat-api 二次开发

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

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

manychat/manychat-api

最新稳定版本:v1.0.5

Composer 安装命令:

composer require manychat/manychat-api

包简介

ManyChat API PHP library

README 文档

README

Installation

To install the library using Composer run this command in your command line:

composer require manychat/manychat-api

or edit your project's composer.json file to require manychat/manychat-api:

{
    ...
    "require": {
        ...
        "manychat/manychat-api": "*"
    }
}

and run composer update in your command line.

Usage

After installing the library, you need to get the ManyChat API token in the API tab of the settings of your page at manychat.com. Here are some examples of the library usage with 1234567890123456:1234567890ABCDEFGHIJKLMNOPQRSTUV API token:

As an instance:

use ManyChat\ManyChat;

$api = new ManyChat('1234567890123456:1234567890ABCDEFGHIJKLMNOPQRSTUV');
$pageInfo = $api->fb->page->getInfo();

As a singleton:

use ManyChat\ManyChat;

ManyChat::fbInit('1234567890123456:1234567890ABCDEFGHIJKLMNOPQRSTUV');
$pageInfo = ManyChat::fbApi()->fb->page->getInfo();

Documentation

List of available ManyChat API methods you can get at the ManyChat API homepage.

List of implemented in this library methods you can get at the ManyChat API PHP library documentation:

统计信息

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

GitHub 信息

  • Stars: 17
  • Watchers: 31
  • Forks: 10
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-09-12