mucts/laravel-sobot

根据智齿智能客服系统提供了包含完整业务流程的开放平台接口(Open API),基于PHP开发的一套API插件。

1.0.0 2020-08-16 01:30 UTC

This package is auto-updated.

Last update: 2024-05-16 09:35:07 UTC


README

68747470733a2f2f696d616765732e6d756374732e636f6d2f696d6167652f6578705f6465665f77686974652e706e67

Build Status Code Intelligence Status Scrutinizer Code Quality Total Downloads Latest Stable Version License

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