PHP code example of yeejiawei / laravel-shopee-api

1. Go to this page and download the library: Download yeejiawei/laravel-shopee-api 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/ */

    

yeejiawei / laravel-shopee-api example snippets


$client = new  \Yeejiawei\LaravelShopeeApi\Client([
    'shop_id' => 'SHOP_ID',
    'access_token' => 'ACCESS_TOKEN',
]);

$chat = $client->chat();

$chat = $client->chat()->getConversation(197091754292034);