Looking to hire Laravel developers? Try LaraJobs

laravel-sobot maintained by mucts

Description
根据智齿智能客服系统提供了包含完整业务流程的开放平台接口(Open API),基于PHP开发的一套API插件。
Author
Last update
2020/08/16 03:30 (dev-master)
License
Links
Downloads
7

Comments
comments powered by Disqus

Laravel AMQP

Sobot Open API SDK for Laravel 7

Installation

Server Requirements

you will need to make sure your server meets the following requirements:

  • php ^7.4
  • JSON PHP Extension
  • mucts/sobot ^5.0
  • laravel/framework ^7.0

Laravel Installation

composer require mucts/laravel-sobot

Usage

Please refer to mucts/sobot

<?php

use MuCTS\Laravel\Sobot\Facades\Sobot;

$res = Sobot::connection('default')
->tickets()
->ticketList()
->whereCreateStartDatetime('2020-08-01 00:00:00')
->whereCreateEndDatetime('2020-08-16 00:00:00')
->whereTicketStatus(0)
->request();

Configuration

If config/sobot.php not exist, run below:

php artisan vendor:publish