PHPackages                             balanced/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. [API Development](/categories/api)
4. /
5. balanced/balanced

ActiveLibrary[API Development](/categories/api)

balanced/balanced
=================

Client for Balanced API

1.3.0(11y ago)72372.9k↓16.7%37[4 issues](https://github.com/balanced/balanced-php/issues)[2 PRs](https://github.com/balanced/balanced-php/pulls)MITPHP

Since Jun 26Pushed 1y ago9 watchersCompare

[ Source](https://github.com/balanced/balanced-php)[ Packagist](https://packagist.org/packages/balanced/balanced)[ Docs](http://github.com/balanced/balanced-php)[ RSS](/packages/balanced-balanced/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (4)Versions (33)Used By (0)

Balanced
========

[](#balanced)

Online Marketplace Payments

[![Build Status](https://camo.githubusercontent.com/5fcff46c487d751011a38b2e2a3d1117bccc806e9a465978ca2991b5d8a0556c/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f62616c616e6365642f62616c616e6365642d7068702e706e67)](http://travis-ci.org/balanced/balanced-php)

The design of this library was heavily influenced by [Httpful](https://github.com/nategood/httpful).

**v1.x requires Balanced API 1.1. Use [v0.x](https://github.com/balanced/balanced-php/tree/rev0) for Balanced API 1.0.**

**[v0.x](https://github.com/balanced/balanced-php/tree/rev0) requires Balanced API 1.0.**

### ATTN COMPOSER USERS

[](#attn-composer-users)

**In the past this README incorrectly communicated specifying `*` for the version of balanced. master, 1.x, requires Balanced API v1.1 and will require updates to your application. Applications using \* to specify the balanced version obtained via Composer will automatically pick up the latest version and will cause issues for applications that have not been updated to use balanced-php 1.x. If your application is configured in the manner, we advise you to pin your balanced version at `0.*`, or something more specific such as `0.7.5.0`, to ensure your application continues to function normally using Balanced API v1.0 until you're able to upgrade to the latest version.**

Requirements
------------

[](#requirements)

- [PHP](http://www.php.net) &gt;= 5.3 **with** [cURL](http://www.php.net/manual/en/curl.installation.php)
- [RESTful](https://github.com/matthewfl/restful) &gt;= 1.0.x
- [Httpful](https://github.com/nategood/httpful) &gt;= 0.2.x

Issues
------

[](#issues)

Please use appropriately tagged github [issues](https://github.com/balanced/balanced-php/issues) to request features or report bugs.

Installation
------------

[](#installation)

You can install using [composer](#composer) or from [source](#source). Note that Balanced is [PSR-0](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md) compliant:

### Composer

[](#composer)

If you don't have Composer [install](http://getcomposer.org/doc/00-intro.md#installation) it:

```
$ curl -s https://getcomposer.org/installer | php

```

Require balanced in your `composer.json`:

```
{
    "require": {
        "balanced/balanced": "1.*"
    }
}
```

NOTE: You may also define a more specific version if desired, e.g. 1.0.1

Refresh your dependencies:

```
$ php composer.phar update
```

Then make sure to `require` the autoloader and initialize all:

```
