PHPackages                             brandchat/api-php - 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. brandchat/api-php

ActiveLibrary

brandchat/api-php
=================

PHP client library for the BrandChat API

1.0.2(9y ago)0196MITPHPPHP &gt;=5.5

Since Nov 30Pushed 9y ago3 watchersCompare

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

READMEChangelog (1)Dependencies (1)Versions (4)Used By (0)

BrandChat API Client PHP implementation
=======================================

[](#brandchat-api-client-php-implementation)

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

[](#requirements)

- PHP &gt;= 5.5
- [Guzzle](http://docs.guzzlephp.org/en/latest/)

Help and docs
-------------

[](#help-and-docs)

- [Documentation](https://github.com/brandchat/api-documentation)

Installing
----------

[](#installing)

The recommended way to install the BrandChat API client is through [Composer](http://getcomposer.org).

```
# Install Composer
curl -sS https://getcomposer.org/installer | php
```

Next, run the Composer command to install the latest stable version of the BrandChat API:

```
php composer.phar require brandchat/api-php
```

You can then later update the BrandChat API using composer:

```
composer.phar update
```

Quickstart guide
----------------

[](#quickstart-guide)

### Configuring the framework

[](#configuring-the-framework)

Before using the `BrandChatApi` framework, you need to initialise it with your bot's api key and bot identifier. Both of these can be found on the BrandChat dashboard menu for your bot after enabling the API for your bot.

```
