PHPackages                             winkelco/mercadolibre - 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. winkelco/mercadolibre

ActiveLibrary[API Development](/categories/api)

winkelco/mercadolibre
=====================

Laravel wrapper for the MercadoLibre API Client

1.4(5y ago)03.7kMITPHP

Since Nov 19Pushed 5y ago1 watchersCompare

[ Source](https://github.com/winkelco/mercadolibre)[ Packagist](https://packagist.org/packages/winkelco/mercadolibre)[ RSS](/packages/winkelco-mercadolibre/feed)WikiDiscussions master Synced yesterday

READMEChangelog (4)Dependencies (2)Versions (6)Used By (0)

Laravel MercadoLibre API Client
===============================

[](#laravel-mercadolibre-api-client)

This package is a wrapper of [MercadoLibre API Client PHP Class](https://github.com/zephia/mercadolibre) for Laravel Framework.

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

[](#installation)

Using [composer](http://getcomposer.org)

Run the following command and provide the latest stable version:

```
composer require winkelco/mercadolibre
```

Then register this service provider with Laravel in config/app.php:

```
'providers' => [
    ...
    WinkelCo\MercadoLibre\Provider\MercadoLibreServiceProvider::class,
    ...
]
```

Publish config file:

```
php artisan vendor:publish --provider="WinkelCo\MercadoLibre\Provider\MercadoLibreServiceProvider" --tag="config"
```

Add **MERCADOLIBRE\_APP\_KEY** and **MERCADOLIBRE\_APP\_SECRET** constants to your .env file:

```
MERCADOLIBRE_APP_KEY=YOUR-MERCADOLIBRE-APP-KEY
MERCADOLIBRE_APP_SECRET=YOUR-MERCADOLIBRE-APP-SECRET

```

Usage
-----

[](#usage)

### Get user data

[](#get-user-data)

See fields documentation at [official MercadoLibre API reference](http://developers.mercadolibre.com/api-docs/)

```
