Download the PHP package orzcc/laravel-ebay without Composer
On this page you can find all versions of the php package orzcc/laravel-ebay. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package laravel-ebay
Laravel Ebay
This package is based on Ebay SDK written by David T. Sadler. This package will organize all the configuration according to laravel and make you use the SDK with out doing any exceptional work or configurations.
Getting Started
Follow the instruction to install and use this package.
Prerequisites
This is package use Ebay Php SDK
Installing
Add Laravel-Ebay to your composer file via the composer require command:
Or add it to composer.json
manually:
Register the service provider by adding it to the providers key in config/app.php. Also register the facade by adding it to the aliases key in config/app.php.
Laravel 5.1 or greater
Laravel 5
Next to get started, you'll need to publish all vendor assets:
This will create a config/ebay.php file in your app that you can modify to set your configuration.
Configuration
After installation, you will need to add your ebay settings. Following is the code you will find in config/ebay.php, which you should update accordingly.
Usage
Following are few examples for using this package.
Ex 1: Get the official eBay time
Following are the two ways you can do it
Method 1:
Method 2:
Tip: If you prefer to use DTS library class you need to pass the configuration.
Ex 2: Find items by keyword
This example will call the findItemsByKeywords operation
Method 1:
Method 2:
Ex 3. Get my ebay selling
Note:
- There are lots for more example available at Ebay SDK Examples.
- Follow above examples but read the Important note below.
Important Note
Using method 1 in both examples we did
to get service object..
Following methods are available to create services using EbayServices
class.
- createAccount(array $args = [])
- createAnalytics(array $args = [])
- createBrowse(array $args = [])
- createBulkDataExchange(array $args = [])
- createBusinessPoliciesManagement(array $args = [])
- createFeedback(array $args = [])
- createFileTransfer(array $args = [])
- createFinding(array $args = [])
- createFulfillment(array $args = [])
- createHalfFinding(array $args = [])
- createInventory(array $args = [])
- createMarketing(array $args = [])
- createMerchandising(array $args = [])
- createMetadata(array $args = [])
- createOrder(array $args = [])
- createPostOrder(array $args = [])
- createProduct(array $args = [])
- createProductMetadata(array $args = [])
- createRelatedItemsManagement(array $args = [])
- createResolutionCaseManagement(array $args = [])
- createReturnManagement(array $args = [])
- createShopping(array $args = [])
- createTrading(array $args = [])
These services methods can be used to get appropriate service object to perform operations on Ebay.
Author
- Haroon Khan - Initial work - hkonnet
License
This project is licensed under the MIT License - see the LICENSE file for details
Acknowledgments
- David T. Sadler for his awesome Ebay SDK.