Sobot Open API SDK for Laravel 7
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
composer require mucts/laravel-sobot
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();
If config/sobot.php
not exist, run below:
php artisan vendor:publish