定制 richbarrett/crisp-php-sdk 二次开发

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

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

richbarrett/crisp-php-sdk

Composer 安装命令:

composer require richbarrett/crisp-php-sdk

包简介

PHP SDK for the Crisp.im API

README 文档

README

Overview

This was created as a lightweight PHP SDK for Crisp.im.

It does not contain methods for every API call but is very easy to extend by adding methods to crispsdk.php it uses Httpful to make requests to the API and returns an array with quick access to key data and the raw Httpful\Response object so you can handle the result however you like.

Usage

  1. First obtain your identifier and key using:

curl -H "Content-Type: application/json" -X POST -d '{"email":"YOUR_ACCOUNT_EMAIL","password":"YOUR_ACCOUNT_PASSWORD"}' https://api.crisp.chat/v1/user/session/login

  1. Use as follows:
use richbarrett\crispsdk\crispsdk;

$identifier = 'YOUR_IDENTIFIER';
$key = 'YOUR_KEY';

$sdk = new crispsdk;
$sdk->authenticate($identifier, $key);

$r = $sdk->listWebsites();
print_r($r);

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-07-21

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固