This is a PHP implementation for Facebook Messenger Bot API.
The minimum requirement is that your Web server supports PHP 5.4.
composer require "pimax/fb-messenger-php" "dev-master"
See this repo - https://github.com/pimax/fb-messenger-php-example