PHPackages                             vrann/magebot - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. vrann/magebot

ActiveMagento2-module[API Development](/categories/api)

vrann/magebot
=============

Magento Facebook Bot which implements a Chat Bot for the Magento store on Facebook Messenger

11112[2 PRs](https://github.com/vrann/magebot/pulls)PHP

Since Sep 29Pushed 9y ago4 watchersCompare

[ Source](https://github.com/vrann/magebot)[ Packagist](https://packagist.org/packages/vrann/magebot)[ RSS](/packages/vrann-magebot/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (3)Used By (0)

Vrann Magebot
=============

[](#vrann-magebot)

**Vrann Magebot** is an extension which implements simple Chat Bot for Facebook Messenger backed by Magento.

It configures Magento to read messages from the RabbitMQ with the text from Facebook Messenger. Messages should be written to RabbitMQ by  installed on public web endpoint and registered for webhook in Facebook.

While processing message, Magebot invokes handler which generates response to the message and writes it to the RabbitMQ.  will read messages from the RabbitMQ and send them to the Facebook.

Presentation
------------

[](#presentation)

Installation
------------

[](#installation)

1. Install  on public endpoint. Install RabbitMQ. Register callback.php to listen messages from the Facebook Messenger. Start response.php in daemon mode, to send responses back to the Facebook.
2. Install magebot extension on Magento:

```
composer require vrann/magechatbot

```

3. Start RabbitMQ consumer on Magento which will listen the queue with the messages from Facebook

```
bin/magento queue:consumers:start basic.consumer

```

Testing
-------

[](#testing)

Invoke vrann/magebot API through the Web API:

```
curl -XPOST -H "Content-Type: application/json" -d '{
  "messageText": {
    "object": "page",
    "entry": [
      {
        "id": "287630798278680",
        "time": 1471371304751,
        "messaging": [
          {
            "sender": {
              "id":"1011665925607547"
            },
            "recipient": {
              "id":"287630798278680"
            },
            "timestamp":1471371209420,
            "message": {
              "mid": "mid.1471371209330:af0fa0dd167d847914",
              "seq": 12,
              "text": "Hi!"
            }
          }
        ]
      }
    ]
  }
}' http://{magento.url}/rest/V1/facebook-bot-message

```

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/e00d41ada50e7658305b93781a7e4e8a63239ee17a850639b914f16302c1cd1c?d=identicon)[vrann](/maintainers/vrann)

---

Top Contributors

[![vrann](https://avatars.githubusercontent.com/u/2277722?v=4)](https://github.com/vrann "vrann (13 commits)")

### Embed Badge

![Health badge](/badges/vrann-magebot/health.svg)

```
[![Health](https://phpackages.com/badges/vrann-magebot/health.svg)](https://phpackages.com/packages/vrann-magebot)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M19](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k12](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
