lojazone/pagarme

Package to integration with Pagarme service using SDK

dev-master 2020-04-24 02:49 UTC

This package is auto-updated.

Last update: 2024-04-19 21:39:43 UTC


README

Pagarme-Laravel

References:
- Get your keys e sign a comercial contract with pagarme
- Dashboard https://dashboard.pagar.me/
- Docs https://docs.pagar.me/
Intallation
    * composer required lojazone/pagarme
    * php artisan vendor:publish --tag=lojazone-pagarme-config
    * Add your config/app.php `Lojazone\Pagarme\Providers\PagarmeServiceProvider::class`
    * Publish the config file and Define your keys, environment
    * or define keys in your .env file
.env file
  • API_KEY_PAGARME_SANDBOX=
  • CRYPTO_KEY_PAGARME_SANDBOX=
  • API_KEY_PAGARME=
  • CRYPTO_KEY_PAGARME=
Exemples to use:

use \Lojazone\Pagarme;

$pagarme = new Pagarme();

$pagarme->getCustomerList();