Skip to content

Commit ccf441a

Browse files
committed
Add braintree credentials to .env file
1 parent 776c69a commit ccf441a

File tree

4 files changed

+58
-1
lines changed

4 files changed

+58
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
composer.phar
2+
.env
23
vendor/

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
22
"require" : {
33
"braintree/braintree_php" : "3.6.1",
4-
"php": ">=5.2.1"
4+
"php": ">=5.2.1",
5+
"vlucas/phpdotenv": "2.1.0"
56
},
67
"require-dev": {
78
"phpunit/phpunit": "3.7.*",

composer.lock

Lines changed: 51 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

example.env

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
BT_ENVIRONMENT=sandbox
2+
BT_MERCHANT_ID=YOUR_MERCHANT_ID
3+
BT_PUBLIC_KEY=YOUR_PUBLIC_KEY
4+
BT_PRIVATE_KEY=YOUR_PRIVATE_KEY

0 commit comments

Comments
 (0)