jocoonopa / messenger
PHP Library to interact with Facebook Messenger Platform
3.5.42
2024-09-05 08:46 UTC
Requires
- php: >=7.3.0
- ext-json: *
- guzzlehttp/guzzle: ^7.2
- guzzlehttp/psr7: ^2.0
- illuminate/support: ^6.0|^7.0|^8.0|^9.0|^10.0
- psr/http-message: ^1.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.5
- phpstan/phpstan: ^0.12
- phpunit/phpunit: ^8.0
- dev-main
- 3.5.42
- 3.5.41
- 3.5.40
- 3.5.39
- 3.5.38
- 3.5.37
- 3.5.36
- 3.5.35
- 3.5.34
- 3.5.33
- 3.5.32
- 3.5.31
- 3.5.30
- 3.5.29
- 3.5.28
- 3.5.27
- 3.5.26
- 3.5.25
- 3.5.24
- 3.5.23
- 3.5.22
- 3.5.21
- 3.5.20
- 3.5.19
- 3.5.18
- 3.5.17
- 3.5.16
- 3.5.15
- 3.5.14
- 3.5.13
- 3.5.12
- 3.5.11
- 3.5.10
- 3.5.9
- 3.5.8
- 3.5.7
- 3.5.6
- 3.5.5
- 3.5.4
- 3.5.3
- 3.5.2
- 3.5.1
- 3.5.0
- 3.4.0
- 3.3.3
- 3.3.2
- 3.3.1
- 3.3.0
- 3.2.0
- 3.1.1
- 3.1.0
- 3.0.0
- 2.5.42
- 2.1.1
- 2.1.0
- 2.0.2
- 2.0.1
- 2.0.0
- 1.x-dev
- 1.4.1
- 1.4.0
- 1.3.3
- 1.3.2
- 1.3.1
- 1.3.0
- 1.2.0
- 1.1.1
- 1.1.0
- 1.0.0
- dev-feature/psr-18
This package is auto-updated.
Last update: 2024-11-05 09:33:47 UTC
README
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:
- run
composer install
to get these dependencies added to your vendor directory - add the autoloader to your application with this line:
require('vendor/autoload.php');
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
- Broadcast (deprecated)
- Code (deprecated)
- Insights
- Nlp
- Persona
- Profile
- Send
- Tag
- Thread
- User
- Webhook
Templates
- Airline Boarding Pass
- Airline Check In
- Airline Itinerary
- Airline Update
- Buttons
- Account Link
- Account Unlink
- Nested (deprecated)
- Payment
- Phone Number
- Postback
- Share (deprecated)
- Web Url
- Generic
- List (deprecated)
- Media
- Receipt
Callback
- Account Linking
- AppRoles
- Checkout Update
- Delivery
- GamePlay
- Message
- Message Echo
- Optin
- PassThreadControl
- Payment
- Policy Enforcement
- Postback
- Pre Checkout
- Read
- Reaction
- Referral
- RequestThreadControl
- TakeThreadControl