PHP code example of mucts / laravel-sobot

1. Go to this page and download the library: Download mucts/laravel-sobot library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

mucts / laravel-sobot example snippets




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();

php artisan vendor:publish