forked from SceLPI/mercadopago
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
luizsoares
committed
Mar 6, 2019
1 parent
07137d9
commit 74d1c44
Showing
3 changed files
with
71 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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), | ||
] | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"); | ||
} | ||
} |