PHPackages                             simexis/braintree - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Payment Processing](/categories/payments)
4. /
5. simexis/braintree

ActiveLibrary[Payment Processing](/categories/payments)

simexis/braintree
=================

A Braintree Service provider

021PHP

Since Aug 17Pushed 10y ago1 watchersCompare

[ Source](https://github.com/jooorooo/braintree)[ Packagist](https://packagist.org/packages/simexis/braintree)[ RSS](/packages/simexis-braintree/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Braintree Package for Laravel 5.0
=================================

[](#braintree-package-for-laravel-50)

### Installation

[](#installation)

In your Laravel project's composer.json file, add `braintree` as a dependency in the require object:

```
"simexis/braintree": "dev-master"
```

Use `composer update` for composer to update the dependencies and download the package.

Once installed, add the ServiceProvider to your provider array within `app/config/app.php`:

```
'providers' => array(

    'Simexis\Braintree\BraintreeServiceProvider'

)
```

### Configuration

[](#configuration)

To publish the configuration file, run:

```
php artisan config:publish simexis/braintree
```

Then open `app/config/packages/simexis/braintree/config.php` to setup your environment and keys: Acceptable environment values are `sandbox` or `production`. All required keys can be found by logging in to your [sandbox](https://sandbox.braintreegateway.com/login) or [production](https://www.braintreegateway.com/login) account

```
