PHPackages                             reyesoft/mercadopago - 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. [Payment Processing](/categories/payments)
4. /
5. reyesoft/mercadopago

ActiveLibrary[Payment Processing](/categories/payments)

reyesoft/mercadopago
====================

This library helps to make payments through MercadoPago, even with QR

3.0.2(1y ago)317.6k↓26.7%1[2 PRs](https://github.com/reyesoft/mercadopago/pulls)MITPHPPHP &gt;=8.2

Since Sep 26Pushed 1y ago1 watchersCompare

[ Source](https://github.com/reyesoft/mercadopago)[ Packagist](https://packagist.org/packages/reyesoft/mercadopago)[ Docs](https://github.com/reyesoft/mercadopago)[ RSS](/packages/reyesoft-mercadopago/feed)WikiDiscussions v3.0 Synced 1mo ago

READMEChangelog (10)Dependencies (3)Versions (36)Used By (0)

MercadoPagoQr
=============

[](#mercadopagoqr)

This library extend API entrypoints of [mercadopago/dx-php](https://github.com/mercadopago/dx-php), like Instore V2, Qr Tramma, and Store Client.

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

[](#installation)

```
composer require reyesoft/mercadopago
```

Usage
-----

[](#usage)

Usage it's the same of mercadopago/dx-php, but with some new features and extensions. Like...

### Creating and handling a Pos

[](#creating-and-handling-a-pos)

```
MercadoPagoConfig::setAccessToken('YOUR_ACCESS_TOKEN']);

$store = (new StoreClient())->create(
    $params->getUserId(),
    [
        'name' => 'Reyesoft Point',
        'business_hours' => [
            'wednesday' => [
                [
                    'open' => '00:00',
                    'close' => '23:59',
                ],
            ],
        ],
        'external_id' => 'your_store_external_id',
        'location' => [
            'street_number' => '3039',
            'street_name' => 'Caseros',
            'city_name' => 'Belgrano',
            'state_name' => 'Capital Federal',
            'latitude' => -32.8897322,
            'longitude' => -68.8443275,
            'reference' => '3er Piso',
        ],
    ]
);
```

You can get MercadoPago credentials from

### Showing a Point Of Sale QR

[](#showing-a-point-of-sale-qr)

```
$pos = new MercadoPagoPos('your_pos_external_id');
$qr_content = $pos->getQrContent();

// just an example, this is Endroid\QrCode library
$qr_code = new QrCode($qr_content);
$qr_code->setText($qr_content);
echo $qr_code->getDataUri();
```

### Putting a order in a Point Of Sale

[](#putting-a-order-in-a-point-of-sale)

```
(new InstoreOrderV2())->create(
    'your_mercadopago_user_id',
    'your_store_external_id',
    'your_pos_external_id',
    [
        'external_reference' => '#' . $your_order_id,
        'title' => 'Order ' . $your_order_id,
        'description' => 'Your proyects',
        'notification_url' => 'https://yourserver.com/endpoint',
        'total_amount' => 100.10,
        'expiration_date' => today()->addDays(7)->format('Y-m-d\TH:i:s.vP'),
        'items' => [
            [
                'title' => 'Your lovely product',
                'id' => '#' . $your_order_id,
                'external_reference' => '#' . $your_order_id,
                'quantity' => 1,
                'unit_measure' => 'unit',
                'currency_id' => 'ARS',
                'unit_price' => 100.10,
                'total_amount' => 100.10,
                'picture_url' => 'https://yourserver.com/image.jpg',
            ],
        ],
    ]
);
```

### Images

[](#images)

```
docker run -it --rm --name php82 -e PHP_EXTENSIONS="" -v "$PWD":/usr/src/app pablorsk/laravel-json-api:8.2 bash
```

###  Health Score

46

—

FairBetter than 93% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity86

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 69% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~132 days

Recently: every ~162 days

Total

18

Last Release

529d ago

Major Versions

v0.0.x-dev → 1.0.02019-08-23

v1.1.x-dev → 3.0.02024-11-26

PHP version history (3 changes)0.0.1PHP &gt;=7.1

1.0.0PHP &gt;=7.2

3.0.0PHP &gt;=8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/f446404fdcb4bf5659aedcaf810aab3702203c222874460874fa1138b879f9b0?d=identicon)[pablorsk](/maintainers/pablorsk)

---

Top Contributors

[![pablorsk](https://avatars.githubusercontent.com/u/938894?v=4)](https://github.com/pablorsk "pablorsk (20 commits)")[![juanicastellan0](https://avatars.githubusercontent.com/u/37382853?v=4)](https://github.com/juanicastellan0 "juanicastellan0 (9 commits)")

---

Tags

qrcodepaymentsreyesoftmercadopago api

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/reyesoft-mercadopago/health.svg)

```
[![Health](https://phpackages.com/badges/reyesoft-mercadopago/health.svg)](https://phpackages.com/packages/reyesoft-mercadopago)
```

###  Alternatives

[amzn/amazon-pay-sdk-php

Amazon Pay SDK (PHP)

20512.1M3](/packages/amzn-amazon-pay-sdk-php)[unicodeveloper/laravel-paystack

A Laravel Package for Paystack

650975.6k11](/packages/unicodeveloper-laravel-paystack)[ignited/laravel-omnipay

Integrates Omnipay with Laravel and provides an easy configuration.

5211.1M12](/packages/ignited-laravel-omnipay)[recurly/recurly-client

The PHP client library for the Recurly API

1736.3M7](/packages/recurly-recurly-client)[chargebee/chargebee-php

ChargeBee API client implementation for PHP

768.0M9](/packages/chargebee-chargebee-php)[amzn/amazon-pay-api-sdk-php

Amazon Pay API SDK (PHP)

505.1M9](/packages/amzn-amazon-pay-api-sdk-php)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
