Skip to content

Commit

Permalink
Adicionado arquivos do projeto
Browse files Browse the repository at this point in the history
  • Loading branch information
luizsoares committed Mar 6, 2019
1 parent 07137d9 commit 74d1c44
Show file tree
Hide file tree
Showing 3 changed files with 71 additions and 0 deletions.
37 changes: 37 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"name": "scelpi/mercadopago",
"description": "Wrapper para utilizar a API do MercadoPago.",
"keywords": ["mercadopago", "api", "wrapper", "laravel", "php"],
"license": "MIT",
"authors": [
{
"name": "Luiz Eduardo Campos Soares",
"email": "[email protected]"
}
],
"require": {
"php": ">=7",
"composer/composer": "^1.6"
},
"require-dev": {
"illuminate/config": "^5.1,<5.9",
"phpunit/phpunit" : "4.*"
},
"autoload": {
"psr-4": {
"SceLPI\\MercadoPago\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"SceLPI\\MercadoPago\\": "tests"
}
},
"extra": {
"laravel": {
"providers": [
"SceLPI\\MercadoPago\\MercadoPagoServiceProvider"
]
}
}
}
14 changes: 14 additions & 0 deletions config/mercadopago.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?php

return [
'sandbox' => [
"app" => env('MP_SANDBOX_APP', null),
'key' => env('MP_SANDBOX_KEY', null),
'token' => env('MP_SANDBOX_TOKEN', null),
],
'production' => [
"app" => env('MP_APP', null),
'key' => env('MP_KEY', null),
'token' => env('MP_TOKEN', null),
]
];
20 changes: 20 additions & 0 deletions src/MercadoPagoServiceProvider.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?php

namespace SceLPI\MercadoPago;

use Illuminate\Support\ServiceProvider;

class MercadoPagoServiceProvider extends ServiceProvider
{
/**
* Indicates if loading of the provider is deferred.
*
* @var bool
*/
protected $defer = true;

public function boot()
{
dd("aaa");
}
}

0 comments on commit 74d1c44

Please sign in to comment.