Facebook Messenger Bots for PHP

Facebook Messenger Bots for PHP

Dear Our Valued Customers

In order to help people have better experience when purchase, download and support, we’ve moved the product to our website. We’re no longer sell products on CodeCanyon. Please purchase on instead.

We keep this product here to let existing users signup on our website and verify by their license key. We’ll close this item within next 30 days, please register an account and verify as soon as you can, after that time, we won’t responsible for any trouble.


Reach More People, Save More Time?

You should try out Facebook Messenger Bot

Giga AI brings a convenience, super easy way to helps you create your Messenger Bot in 5 minutes. No much coding skill is required but still have powerful API. You can also extends our package to bring your awesome features to your bot. More ways to make it yours!

GigaAI features


Ultra Fast With quality code, built in caching system, your Bot will run with bolt speed.

Subscription & Notification Send subscription message to your leads with ease, no fuss!

Expressive Syntax The only method to remember is $bot->answer(); the syntax is easy to remember and elegance. Please take a quick look at our API Documentation to check your self.

Powerful Storage Driver Store everything you want on RDBMS database or even flat file. Extend our Storage class to support your project easily.

Beautiful Shortcodes Just tell bot say Hi [first_name] to people and let the bot says, for example, Hi Jimmy automatically.

Smart Intended Actions Let’s assume that people text Hey bot, please send me my receipt and bot says Please provide your license key, GigaAI provides a fluent way to mark the next people message as license key. So bot can check license key and receipt for people

Send Rich Media Not only plain text, you can tell bot send Image, Audio, Video, File, Buttons, Generic, Receipt, Quick Replies… to people.

Location Want to get user location? Giga supports handling location without hassle but still powerful.

Receive Rich Media Bot can send rich media to people, it can also receive rich media from them. Awesome right?

Unlimited Apps & Pages With the unlimited expandable structure, you can create and reuse one bot to support unlimited apps & pages.

Advanced Security Want to protect whole project? Like Laravel, just point your domain to /public/ URL.

Advanced Thread Settings Greeting Text, Get Started Button, Persistent Menu. Most are pre-configured and just need very quick step to make all works.

Powerful Lead Generation As we have Storage class and Intended Action, you can teach bot to ask people to enter their information and save it to your desired database.

Composer Friendly You say a modern PHP package should support it. Yes, we do: PSR-4 with Composer.

Persistent Menu Create menu in your Messenger app in seconds. Just pass an array of menu item. Can’t be simpler right?

Friendly Documentation A product can’t be cool without a good documentation. Our documentation is step by step, from basic to advanced, update daily, please check it at GigaAI Documentation

See it in action

WordPress version with Drag and Drop is also available. Check it out

Change Logs

Version 2.2.1 (January 16th, 2017)
Fix: Text Matching always acts as contains statement

Version 2.2 (January 5th, 2017)

New: Account Linking
New: List message type
New: Auto Stop (Mute) bot
New: Whitelisted domains
Improvement: Allows user remove subscribers from channels.
Improvement: Don't response message echo
Improvement: Better Message code structure
Improvement: Better button sanitizer
Improvement: When notification message limit is set to 0. You can send unlimited messages.
Improvement: Add soft delete to all db tables.
Improvement: Add creator_id field to some db tables
Improvement: You can set intended action for notification.
Fix: Storage::set() doesn't works with meta data

Version 2.0.3 (November 19th, 2016)

Fix: Intended Action doesn't works.
Improvement: Auto config MySQL connection for WordPress.

Version 2.0.2 (November 10th, 2016)

Improvement: Better UTF-8 support 
Improvement: Add default seeder for GIGA_GET_STARTED_PAYLOAD
Fix: Quick Replies doesn't works inside closure
Change: Use MySQL REGEX or LIKE syntax for Text Matching
Under the hood: Move Messenger Bot answer(), answers(), say(), says(), wait(), then() methods to LearnTrait.

Version 2.0.1 (October 29th, 2016)

Fix: Quick Replies and Default answers doesn't works
Improvement: URL should be URL instead of force to File
Change: Default channel in example file is 1 instead of 2.

Version 2.0 (October 25th, 2016)

New: Subscription feature
New: Fluent intended action
Improvement: Performance now 5X faster
Improvement: Split index.php to index.php, seeder.php, subscription.php
Improvement: Quick Replies can works with multiple messages
Improvement: User can use either $bot->say() or return statement in callback
Fix: Cannot handle quick replies payload
Change: Add more tables and fields to database
Change: Remove File Storage Driver
Change: Remove WP Storage Driver

Giga.AI 1.1.1 (September 14th, 2016)

Improvement: `MySQLStorageDriver` is shipped with the package by default
Improvement: Attachment now works with Intended Actions
Improvement: Remove `$bot->run();` method on `public/index.php`
Changes: Drop support PHP 5.3
Fix: `Driver Not Found` exception in strict mode

Version 1.1 – August 30th

New: Add MySQLStorageDriver and WordPressStorageDriver to support MySQL out of the box.
New: Support Attachment message (Location, Image, Video, Stickers...)
Improvement: Callback now takes up to 3 arguments $bot, $user_id and $input
Improvement: Improve shortcut syntax for `$bot->say();` method
Improvement: Add /?subscribe URL to check instead of /subscribe.php
Fix: Quick Replies doesn't works in callback.

Version 1.0.1 – August 13th

New: Support Quick Replies.
Improvement: Temporary remove Auto Stop since Facebook Messenger update GUI.
Improvement: Add PHPUnit support for testing.
Fix: Intended Actions loop and only sent one time.
Fix: User can't set question mark sign in their pattern.

Version 1.0 – April 19th, 2016

First Release