PHPackages                             revolt-visual/laravel-balanced - 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. revolt-visual/laravel-balanced

ActiveLibrary

revolt-visual/laravel-balanced
==============================

2138

Since Mar 12Compare

[ Source](https://github.com/revolt-visual/laravel-balanced)[ Packagist](https://packagist.org/packages/revolt-visual/laravel-balanced)[ RSS](/packages/revolt-visual-laravel-balanced/feed)WikiDiscussions Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Balanced Payments for Laravel 4
===============================

[](#balanced-payments-for-laravel-4)

Integrates the Balanced Payments PHP library with Laravel 4 via a ServiceProvider and config extensions.

### Installation

[](#installation)

Include laravel-balanced as a dependency in composer.json:

```
"revolt-visual/laravel-balanced": "dev-master"

```

Run `composer install` to download the dependency.

Add the ServiceProvider to your provider array within `app/config/app.php`:

```
'providers' => array(

    'RevoltVisual\LaravelBalanced\LaravelBalancedServiceProvider'

)

```

Finally, publish the configuration files via `php artisan config:publish revolt-visual/laravel-balanced`.

### Configuration

[](#configuration)

It is advisable to keep all of your sensitive configuration out of your configuration files. Instead, utilize Laravel's "dot files" to keep them out of source control and making them easily overridable on dev environments.

If you have not setup a "dot file", read Laravel's "[Protecting Sensitive Configuration](http://laravel.com/docs/configuration#protecting-sensitive-configuration) for detailed setup instructions. To quickly get up an running, simply create a `.env.php` file in the same directory as you apps `composer.json` file. Then add your Balanced API credentials to it.

```
