PHP code example of rat.md / laravel-ebay-sdk
1. Go to this page and download the library: Download rat.md/laravel-ebay-sdk 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/ */
rat.md / laravel-ebay-sdk example snippets
use Rat\eBaySDK\API\InventoryAPI\InventoryItem\GetInventoryItem;
use Rat\eBaySDK\Client;
$client = new Client();
$client->setRefreshToken($refreshToken);
$response = $client->execute(new GetInventoryItem('MyCustomSKU'));
bash
php artisan vendor:publish --tag="ebay-sdk-config"