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

ActiveLibrary

ipagdevs/dx-php
===============

1.1.4(7y ago)011MITPHPPHP &gt;=5.4.0

Since Dec 27Pushed 7y ago1 watchersCompare

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

READMEChangelog (2)Dependencies (2)Versions (8)Used By (0)

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

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

[![Build Status](https://camo.githubusercontent.com/98e4e94591bd21c36980dd38dffb7296a9f738a5c97cac6fa8eb99ad392c0b2e/68747470733a2f2f7472617669732d63692e6f72672f696d6173736f6e2f70782d7068702e706e67)](https://travis-ci.org/imasson/px-php)[![Coverage Status](https://camo.githubusercontent.com/d4506b9dff95914128383b8a731059f177cc860d2ebe4670c008757aa9a9bfed/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f696d6173736f6e2f70782d7068702f62616467652e7376673f6272616e63683d666561747572652d63692d636f6e66696775726174696f6e2d72657374636c69656e74)](https://coveralls.io/github/imasson/px-php?branch=feature-ci-configuration-restclient)

This library provides developers with a simple set of bindings to the Mercado Pago API.

### PHP Versions Supported:

[](#php-versions-supported)

The SDK supports PHP 5 or major

### Installation

[](#installation)

#### Using Composer

[](#using-composer)

1. Download [Composer](https://getcomposer.org/download/) if not already installed
2. Go to your project directory and run `composer require "mercadopago/dx-php:dev-master"` on the command line.
3. This how your directory structure would look like.

[![screen shot 2017-12-27 at 7 07 47 pm](https://user-images.githubusercontent.com/864790/34394635-44f7745a-eb39-11e7-981d-77cf759cf05f.png)](https://user-images.githubusercontent.com/864790/34394635-44f7745a-eb39-11e7-981d-77cf759cf05f.png)

4. Thats all, you have Mercado Pago SDK installed.

### Quick Start

[](#quick-start)

1. You have to require the library from your Composer vendor folder.

```
require __DIR__  . '/vendor/autoload.php';
```

2. Setup your credentials

You have two types of credentials:

- **For API or custom checkout:**```
    MercadoPago\SDK::setAccessToken("YOUR_ACCESS_TOKEN");      // On Production
    MercadoPago\SDK::setAccessToken("YOUR_TEST_ACCESS_TOKEN"); // On Sandbox
    ```
- **For Web-checkout:**```
    MercadoPago\SDK::setClientId("YOUR_CLIENT_ID");
    MercadoPago\SDK::setClientSecret("YOUR_CLIENT_SECRET");
    ```

3. Using resource objects.

You can interact with all the resources available in the public API, to this each resource is represented by classes according to the following diagram:

[![sdk resource structure](https://user-images.githubusercontent.com/864790/34393059-9acad058-eb2e-11e7-9987-494eaf19d109.png)](https://user-images.githubusercontent.com/864790/34393059-9acad058-eb2e-11e7-9987-494eaf19d109.png)

**Sample**

```

```

### Support

[](#support)

Write us at [developers.mercadopago.com](https://developers.mercadopago.com)

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity63

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

Total

6

Last Release

2796d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5ac6c28b4d0b70e45346ee9bb3f9bac9fa608bd1e6f10b56966413a73744d883?d=identicon)[jhernandes](/maintainers/jhernandes)

---

Top Contributors

[![joelibaceta](https://avatars.githubusercontent.com/u/864790?v=4)](https://github.com/joelibaceta "joelibaceta (50 commits)")[![imasson](https://avatars.githubusercontent.com/u/8289723?v=4)](https://github.com/imasson "imasson (44 commits)")[![jhernandes](https://avatars.githubusercontent.com/u/6430761?v=4)](https://github.com/jhernandes "jhernandes (3 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)")

### Embed Badge

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

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

###  Alternatives

[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[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)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

44643.1k1](/packages/pressbooks-pressbooks)[neos/flow-development-collection

Flow packages in a joined repository for pull requests.

144179.3k3](/packages/neos-flow-development-collection)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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