PHPackages                             joaovdiasb/dx-php - 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. joaovdiasb/dx-php

ActiveLibrary[Payment Processing](/categories/payments)

joaovdiasb/dx-php
=================

Mercado Pago PHP SDK

2.2.7(5y ago)210MITPHPPHP &gt;=7.1.0

Since Dec 27Pushed 5y agoCompare

[ Source](https://github.com/joaovdiasb/dx-php)[ Packagist](https://packagist.org/packages/joaovdiasb/dx-php)[ Docs](https://github.com/mercadopago/dx-php)[ RSS](/packages/joaovdiasb-dx-php/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)Dependencies (10)Versions (61)Used By (0)

Mercado Pago SDK for PHP
========================

[](#mercado-pago-sdk-for-php)

[![Latest Stable Version](https://camo.githubusercontent.com/83bd9be8596381e6e30a487fda5b78780ed670835f7dbcc5a3554793e626e16e/68747470733a2f2f706f7365722e707567782e6f72672f6d65726361646f7061676f2f64782d7068702f762f737461626c65)](https://packagist.org/packages/mercadopago/dx-php)[![Total Downloads](https://camo.githubusercontent.com/25952b89644fb36af13c75d86d34e03d93dc5b09668e84e59b2f891b1b29b9a1/68747470733a2f2f706f7365722e707567782e6f72672f6d65726361646f7061676f2f64782d7068702f646f776e6c6f616473)](https://packagist.org/packages/mercadopago/dx-php)[![License](https://camo.githubusercontent.com/7f774ef31a13d9316e12c94515a61e1144cf9108d28a3bd36c19da7d85051eaa/68747470733a2f2f706f7365722e707567782e6f72672f6d65726361646f7061676f2f64782d7068702f6c6963656e7365)](https://packagist.org/packages/mercadopago/dx-php)

This library provides developers with a simple set of bindings to help you integrate Mercado Pago API to a website and start receiving payments.

💡 Requirements
--------------

[](#-requirements)

PHP 5.6, 7.1 or higher

📲 Installation
--------------

[](#-installation)

First time using Mercado Pago? Create your [Mercado Pago account](https://www.mercadopago.com), if you don’t have one already.

1. Download [Composer](https://getcomposer.org/doc/00-intro.md) if not already installed
2. On your project directory run on the command line `composer require "mercadopago/dx-php:2.2.1"` for PHP7 or `composer require "mercadopago/dx-php:1.9.0"` for PHP5.6.
3. Copy the access\_token in the [credentials](https://www.mercadopago.com/mlb/account/credentials) section of the page and replace YOUR\_ACCESS\_TOKEN with it.

That's it! Mercado Pago SDK has been successfully installed.

🌟 Getting Started
-----------------

[](#-getting-started)

Simple usage looks like:

```

```

📚 Documentation
---------------

[](#-documentation)

Visit our Dev Site for further information regarding:

- Payments APIs: [Spanish](https://www.mercadopago.com.ar/developers/es/guides/payments/api/introduction/) / [Portuguese](https://www.mercadopago.com.br/developers/pt/guides/payments/api/introduction/)
- Mercado Pago checkout: [Spanish](https://www.mercadopago.com.ar/developers/es/guides/payments/web-payment-checkout/introduction/) / [Portuguese](https://www.mercadopago.com.br/developers/pt/guides/payments/web-payment-checkout/introduction/)
- Web Tokenize checkout: [Spanish](https://www.mercadopago.com.ar/developers/es/guides/payments/web-tokenize-checkout/introduction/) / [Portuguese](https://www.mercadopago.com.br/developers/pt/guides/payments/web-tokenize-checkout/introduction/)

Check [our official code reference](https://mercadopago.github.io/dx-php/) to explore all available functionalities.

❤️ Support
----------

[](#️-support)

If you require technical support, please contact our support team at [developers.mercadopago.com](https://developers.mercadopago.com)

🏻 License
---------

[](#-license)

```
MIT license. Copyright (c) 2018 - Mercado Pago / Mercado Libre
For more information, see the LICENSE file.

```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~29 days

Total

40

Last Release

1894d ago

Major Versions

1.4.1 → v5.6.x-dev2019-09-23

1.8.1 → 2.0.02020-04-06

1.9.0 → 2.1.02020-07-01

1.10.0 → 2.2.42021-03-03

PHP version history (3 changes)1.0PHP &gt;=5.4.0

1.2.1PHP &gt;=5.5.0

2.0.0PHP &gt;=7.1.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/918d26fea3e34e45cb913df9d3d1eb5c67fc06a9ec58f4ca164a7eab73d586f9?d=identicon)[joaovdiasb](/maintainers/joaovdiasb)

---

Top Contributors

[![joelibaceta](https://avatars.githubusercontent.com/u/864790?v=4)](https://github.com/joelibaceta "joelibaceta (51 commits)")[![imasson](https://avatars.githubusercontent.com/u/8289723?v=4)](https://github.com/imasson "imasson (44 commits)")[![victorgodinho-meli](https://avatars.githubusercontent.com/u/59620717?v=4)](https://github.com/victorgodinho-meli "victorgodinho-meli (23 commits)")[![delias-silva](https://avatars.githubusercontent.com/u/54329215?v=4)](https://github.com/delias-silva "delias-silva (14 commits)")[![joaovdiasb](https://avatars.githubusercontent.com/u/51106311?v=4)](https://github.com/joaovdiasb "joaovdiasb (7 commits)")[![fgilio](https://avatars.githubusercontent.com/u/6857732?v=4)](https://github.com/fgilio "fgilio (3 commits)")[![bachilli](https://avatars.githubusercontent.com/u/1070049?v=4)](https://github.com/bachilli "bachilli (2 commits)")[![dann95](https://avatars.githubusercontent.com/u/9970959?v=4)](https://github.com/dann95 "dann95 (2 commits)")[![matiasgualino](https://avatars.githubusercontent.com/u/4398841?v=4)](https://github.com/matiasgualino "matiasgualino (1 commits)")[![mminestrelli](https://avatars.githubusercontent.com/u/8038535?v=4)](https://github.com/mminestrelli "mminestrelli (1 commits)")[![ahoulgrave](https://avatars.githubusercontent.com/u/3420583?v=4)](https://github.com/ahoulgrave "ahoulgrave (1 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/joaovdiasb-dx-php/health.svg)

```
[![Health](https://phpackages.com/badges/joaovdiasb-dx-php/health.svg)](https://phpackages.com/packages/joaovdiasb-dx-php)
```

###  Alternatives

[jms/payment-core-bundle

A unified API for processing payments with Symfony

194742.9k36](/packages/jms-payment-core-bundle)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[neos/flow

Flow Application Framework

862.0M451](/packages/neos-flow)[neos/flow-development-collection

Flow packages in a joined repository for pull requests.

144179.3k3](/packages/neos-flow-development-collection)[ticketpark/saferpay-json-api

A php library to use the json api of Saferpay

34312.6k1](/packages/ticketpark-saferpay-json-api)[concrete5/core

Concrete core subtree split

19159.3k48](/packages/concrete5-core)

PHPackages © 2026

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