2017 © Pedro Peláez
 

symfony-bundle mercadopago-bundle

This is a Symfony2 Bundle helps you use the mercadopago API

image

grunch/mercadopago-bundle

This is a Symfony2 Bundle helps you use the mercadopago API

  • Monday, May 25, 2015
  • by grunch
  • Repository
  • 1 Watchers
  • 1 Stars
  • 285 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 5 Forks
  • 1 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Mecadopago bundle para Symfony2

Este bundle te permite adaptar de manera rápida el api de Mercadopago a tu proyecto en Symfony., (*1)

Latest Stable Version Total Downloads Latest Unstable Version, (*2)

Licencia

License, (*3)

Instalación con composer

1 Agrega en la llave require del composer.json, (*4)

``` yml "require" : { "grunch/mercadopago-bundle": "0.1.*", }, (*5)


``` bash $ composer update

2 Agrega tus credenciales de mercadopago a tu proyecto:, (*6)

Configura tus credenciales

app/config/config.yml

grunch_mercadopago: client_id: xxxxxx client_secret: xxxxxxx sandbox: true, (*7)


**3** Registra el bundle en ``app/AppKernel.php`` ``` php $bundles = array( // ... new Grunch\MercadopagoBundle\GrunchMercadopagoBundle(), );

Comienza

  • Crea el objeto mercadopago:

``` php <?php // src/Acme/DemoBundle/Controller/DemoController.php, (*8)

namespace Acme\DemoBundle\Controller;, (*9)

// ..., (*10)

class DemoController extends Controller {, (*11)

public function indexAction()
{
    // Crea el objeto MP
    $mp = $this->get('grunch_mercadopago')->getMp();
    // Crea un token
    $token = $mp->get_access_token();
}

}, (*12)

- Crea las entidades con la consola:

``` bash
$ php app/console doctrine:schema:update --force

Contribuye

  1. fork the project
  2. clone the repo
  3. get the coding standard fixer: wget http://cs.sensiolabs.org/get/php-cs-fixer.phar
  4. before the PullRequest you should run the coding standard fixer with php php-cs-fixer.phar fix -v .

Para más información sobre el API

https://developers.mercadopago.com/, (*13)

The Versions

25/05 2015

dev-master

9999999-dev https://github.com/grunch/MercadopagoBundle

This is a Symfony2 Bundle helps you use the mercadopago API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Francisco Calderon

api payment symfony2 bundle mercadopago pago tarjeta credito

24/05 2015

0.1.2

0.1.2.0 https://github.com/grunch/MercadopagoBundle

This is a Symfony2 Bundle helps you use the mercadopago API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Francisco Calderon

api symfony2 bundle mercadopago tarjeta credito

24/05 2015

0.1.1

0.1.1.0 https://github.com/grunch/MercadopagoBundle

This is a Symfony2 Bundle helps you use the mercadopago API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Francisco Calderon

api symfony2 bundle mercadopago tarjeta credito

24/05 2015

0.1.0

0.1.0.0 https://github.com/grunch/MercadopagoBundle

This is a Symfony2 Bundle helps you use the mercadopago API

  Sources   Download

MIT

The Requires

 

by Francisco Calderon

api symfony2 bundle mercadopago tarjeta credito