An open API service indexing awesome lists of open source software.

https://github.com/ging-dev/chatfuel-class

Json response for Chatfuel API
https://github.com/ging-dev/chatfuel-class

Last synced: 11 months ago
JSON representation

Json response for Chatfuel API

Awesome Lists containing this project

README

          

## Chatfuel class for PHP

[![StyleCI](https://github.styleci.io/repos/267200397/shield?branch=master)](https://github.styleci.io/repos/267200397)
[![Build Status](https://travis-ci.org/ging-dev/chatfuel-class.svg?branch=master)](https://travis-ci.org/ging-dev/chatfuel-class)
[![Maintainability](https://api.codeclimate.com/v1/badges/4ecc0e618c1e52b689f1/maintainability)](https://codeclimate.com/github/ging-dev/chatfuel-class/maintainability)
[![Version](https://img.shields.io/packagist/v/ging-dev/chatfuel-class?color=brightgreen&label=stable)](https://github.com/ging-dev/chatfuel-class/releases)
[![Test Coverage](https://api.codeclimate.com/v1/badges/4ecc0e618c1e52b689f1/test_coverage)](https://codeclimate.com/github/ging-dev/chatfuel-class/test_coverage)

## Install
composer require ging-dev/chatfuel
## Usage
```php
sendText('Hello world');
$chatfuel->sendImage('http://domain.com/abc.png');

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