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.
You can sign up for a Botamp account at https://botamp.com.
PHP 5.6 and later (previous PHP versions may work but untested), HHVM
You can install the SDK via Composer. Run the following command:
composer require botamp/botamp-php
To be able to use it, require Composer autoload:
require_once('vendor/autoload.php');
Here goes a simple usage:
$botamp = new Botamp\Client(YOUR_API_KEY);
$entities = $botamp->entities->all();
foreach($entities as $entity)
{
echo $entity['name'];
}
Please see https://app.botamp.com/docs/api for up-to-date documentation.
Install dependencies:
composer install
Install dependencies as mentioned above (which will resolve PHPUnit), then you can run the test suite:
./vendor/bin/phpunit
Or to run an individual test file:
./vendor/bin/phpunit tests/ClientTest.php