PHP Laravel eBay SDK (Alpha, looking for testers)
Hi,
I’ve been working on a Laravel SDK for the eBay APIs and wanted to share it here. The package is currently in alpha, but already usable, and I’m especially looking for people who are interested in testing it in real projects.
The goal of the SDK is to provide a clean Laravel-native integration for eBay, including OAuth, webhooks, and both modern REST APIs and legacy XML APIs.
GitHub: https://github.com/RatMD/laravel-ebay-sdk
Documentation: https://ebay-sdk.rat.md
The documentation contains also aggregated / customizable RSS feeds covering all available eBay API release notes. Of course, these feeds are completely independent of the package itself and are useful for all eBay developers. More details can be found on the official documentation page: https://ebay-sdk.rat.md/changelog/feeds.html
What the SDK currently supports
OAuth 2.0 authentication flow (authorize + callback)
Platform Notifications & Marketplace Account Deletion support
Optional route / controller integration for Laravel
Support for modern REST APIs
Support for traditional XML / SOAP APIs (XML only)
Laravel events for incoming eBay notifications
Utilities for common workflows
Example usage:
use Rat\eBaySDK\API\InventoryAPI\InventoryItem\GetInventoryItem;
use Rat\eBaySDK\Client;
$client = new Client();
$client->setRefreshToken($refreshToken);
$response = $client->execute(new GetInventoryItem('MyCustomSKU'));Requirements
PHP 8.2+
Laravel 11 / 12
A queue + scheduler setup is recommended, especially for webhook processing.
Important
This SDK is still in alpha stage and not all APIs could be fully tested because of marketplace / account / sandbox and time limitations. Breaking changes may happen at any time until the first stable release. If you try the SDK and run into issues, feedback is highly appreciated (using GitHub as recommended platform).
Obviously, this is not an official eBay product and not affiliated with eBay Inc.
Thanks,
Sam.