2017 © Pedro Peláez
 

library botamp-php

Botamp PHP Library

image

botamp/botamp-php

Botamp PHP Library

  • Wednesday, March 22, 2017
  • by ousmane95
  • Repository
  • 2 Watchers
  • 0 Stars
  • 34 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 9 Versions
  • 0 % Grown

The README.md

Botamp PHP SDK

Build Status Coverage Status Code Climate Latest Stable Version Total Downloads License, (*1)

Botamp is an autonomous AI-enabled chat assistant which interacts seamlessly with your customers, keeps them engaged and makes them buy more from you, while you can focus on serving them., (*2)

You can sign up for a Botamp account at https://botamp.com., (*3)

Requirements

PHP 5.6 and later (previous PHP versions may work but untested), HHVM, (*4)

Composer

You can install the SDK via Composer. Run the following command:, (*5)

composer require botamp/botamp-php

To be able to use it, require Composer autoload:, (*6)

require_once('vendor/autoload.php');

Getting Started

Here goes a simple usage:, (*7)

$botamp = new Botamp\Client(YOUR_API_KEY);
$entities = $botamp->entities->all();

foreach($entities as $entity)
{
    echo $entity['name'];
}

Documentation

Please see https://app.botamp.com/docs/api for up-to-date documentation., (*8)

Development

Install dependencies:, (*9)

``` bash composer install, (*10)


## Tests Install dependencies as mentioned above (which will resolve [PHPUnit](http://packagist.org/packages/phpunit/phpunit)), then you can run the test suite: ```bash ./vendor/bin/phpunit

Or to run an individual test file:, (*11)

./vendor/bin/phpunit tests/ClientTest.php

The Versions