messenger

Tests Coverage PHP Version Download Packagist License

Messenger

A PHP library to interact with Facebook Messenger Platform

Installation

You can install Messenger using Composer:

composer require kerox/messenger

You will then need to:

Basic usage

use Kerox\Messenger\Messenger;

$messenger = new Messenger($appSecret, $verifyToken, $pageToken)
$messenger->send()->message(<USER_ID>, 'Hello world!');

Advance usage

Please, refer to the wiki to learn how to use this library

Features

API

Templates

Callback