PHPackages                             andyts93/laravel-ebay - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. andyts93/laravel-ebay

ActiveLibrary[API Development](/categories/api)

andyts93/laravel-ebay
=====================

Laravel package to integrate eBay REST API

31PHP

Since Nov 4Pushed 6mo ago1 watchersCompare

[ Source](https://github.com/andyts93/laravel-ebay)[ Packagist](https://packagist.org/packages/andyts93/laravel-ebay)[ RSS](/packages/andyts93-laravel-ebay/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

A Simple eBay implementation for Laravel.

⚠️ **This package is under development.**

Installation
------------

[](#installation)

Install the package through [Composer](https://getcomposer.org).

```
composer require andyts93/laravel-ebay
```

Configuration
-------------

[](#configuration)

Publish the config file:

```
php artisan vendor:publish --tag=ebay-config
```

Follow the [official eBay guide](https://developer.ebay.com/api-docs/static/gs_ebay-rest-getting-started-landing.html) to create your keys and the test account. Edit your .env file to add these mandatory fields:

```
EBAY_CLIENT_ID=
EBAY_CLIENT_SECRET=
EBAY_RU_NAME=

```

Publish the migrations and migrate

```
php artisan vendor:publish --tag=ebay-migrations
php artisan migrate
```

Model configuration
-------------------

[](#model-configuration)

Use the `EbayProduct` trait in your product model. Define the sku column name in the function (if the column is named *sku* you can omit the function).

```
