PHPackages                             otidh/mercadopago-dx-php-laravel - 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. otidh/mercadopago-dx-php-laravel

ActiveLibrary[Payment Processing](/categories/payments)

otidh/mercadopago-dx-php-laravel
================================

01PHP

Since Oct 5Pushed 2y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

**No more doctrine/common and doctrine/annotations issues when using Laravel Framework.**

Why made a fork?
----------------

[](#why-made-a-fork)

Refer this issues/pull requests:

[mercadopago/sdk-php#136](https://github.com/mercadopago/sdk-php/pull/136)

Mercado Pago SDK for PHP
------------------------

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

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.6 or major

### Installation

[](#installation)

#### Using Composer

[](#using-composer)

1. Download [Composer](https://getcomposer.org/doc/00-intro.md#installation-linux-unix-macos) if not already installed
2. Go to your project directory and run `composer require mercadopago/dx-php` 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 or major 10 ​ 11

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

13

—

LowBetter than 1% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity21

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/6903b28824b06496c5a19175c37d896be394e486d2cfabc45ae4c1d394bce752?d=identicon)[otidh](/maintainers/otidh)

---

Top Contributors

[![otidh](https://avatars.githubusercontent.com/u/3415316?v=4)](https://github.com/otidh "otidh (2 commits)")

### Embed Badge

![Health badge](/badges/otidh-mercadopago-dx-php-laravel/health.svg)

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

###  Alternatives

[omnipay/paypal

PayPal gateway for Omnipay payment processing library

3156.8M53](/packages/omnipay-paypal)[eduardokum/laravel-boleto

Biblioteca com boletos para o laravel

626351.9k2](/packages/eduardokum-laravel-boleto)[tbbc/money-bundle

This is a Symfony bundle that integrates moneyphp/money library (Fowler pattern): https://github.com/moneyphp/money.

1961.9M](/packages/tbbc-money-bundle)[2checkout/2checkout-php

2Checkout PHP Library

83740.3k2](/packages/2checkout-2checkout-php)[smhg/sepa-qr-data

Generate QR code data for SEPA payments

61717.2k5](/packages/smhg-sepa-qr-data)[omnipay/dummy

Dummy driver for the Omnipay payment processing library

271.2M33](/packages/omnipay-dummy)

PHPackages © 2026

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