ging-dev/chatfuel-class

Chatfuel class for PHP

1.2.2 2020-08-30 17:32 UTC

This package is auto-updated.

Last update: 2022-11-29 03:40:45 UTC


README

StyleCI Build Status Maintainability Version Test Coverage

Install

composer require ging-dev/chatfuel

Usage

<?php
use Gingdev\Chatfuel;

require 'vendor/autoload.php';

$chatfuel = new Chatfuel();

$chatfuel->sendText('Hello world');
$chatfuel->sendImage('http://domain.com/abc.png');

header('Content-type: application/json');
echo json_encode($chatfuel->getResponse());