A PHP library to interact with Facebook Messenger Platform
You can install Messenger using Composer:
composer require kerox/messenger
You will then need to:
composer install
to get these dependencies added to your vendor directoryrequire('vendor/autoload.php');
use Kerox\Messenger\Messenger;
$messenger = new Messenger($appSecret, $verifyToken, $pageToken)
$messenger->send()->message(<USER_ID>, 'Hello world!');
Please, refer to the wiki to learn how to use this library