PHPackages                             samiaraboglu/fb-messenger-api-bundle - 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. samiaraboglu/fb-messenger-api-bundle

ActiveSymfony-bundle[API Development](/categories/api)

samiaraboglu/fb-messenger-api-bundle
====================================

Symfony Facebook Messenger Api Bundle

v4.4.0(5y ago)0223MITPHPPHP &gt;=7.1.3

Since Mar 11Pushed 5y ago1 watchersCompare

[ Source](https://github.com/samiaraboglu/fb-messenger-api-bundle)[ Packagist](https://packagist.org/packages/samiaraboglu/fb-messenger-api-bundle)[ Docs](https://github.com/samiaraboglu/fb-messenger-api-bundle)[ RSS](/packages/samiaraboglu-fb-messenger-api-bundle/feed)WikiDiscussions 4.x Synced today

READMEChangelogDependencies (2)Versions (5)Used By (0)

fb-messenger-api-bundle
=======================

[](#fb-messenger-api-bundle)

Use the [Facebook Messenger PHP API](https://github.com/samiaraboglu/fb-messenger-bot-php).

### Download the Bundle

[](#download-the-bundle)

```
$ composer require samiaraboglu/fb-messenger-api-bundle
```

### Enable the Bundle

[](#enable-the-bundle)

Registered bundles in the `config/bundles.php` file of your project:

```
return [
    // ...
    Samiax\FbMessengerApiBundle\FbMessengerApiBundle::class => ['all' => true],
    // ...
];
```

### Config

[](#config)

Add this to config/packages/fb\_messenger\_api.yaml:

```
fb_messenger_api:
    access_token:   %fb_messenger_api_access_token%
    verify_token:   %fb_messenger_api_verify_token%
```

### Example

[](#example)

Send text message:

```
namespace App\Controller\Messenger;

use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\Routing\Annotation\Route;
use Symfony\Component\HttpFoundation\Response;

use Samiax\FbMessengerApiBundle\Service\MessengerApi;

/**
 * Messenger Controller
 *
 * @Route("/messenger", name="app_messenger_")
 */
class MessengerController extends AbstractController
{
    /**
     * @Route("/send", name="send")
     *
     * @return Response
     */
    public function sendAction(MessengerApi $messengerApi)
    {
        $messenger = $messengerApi->messenger;

        $message = $messenger->message;

        $message->text('');

        $messenger->send(, $message);

        return new Response();
    }
}
```

###  Health Score

28

—

LowBetter than 51% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

Established project with proven stability

 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.

###  Release Activity

Cadence

Every ~321 days

Total

4

Last Release

2116d ago

Major Versions

0.2.0 → 4.x-dev2020-10-29

PHP version history (2 changes)0.1.0PHP &gt;=5.6

4.x-devPHP &gt;=7.1.3

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8626159?v=4)[Sami Araboğlu](/maintainers/samiaraboglu)[@samiaraboglu](https://github.com/samiaraboglu)

---

Top Contributors

[![samiaraboglu](https://avatars.githubusercontent.com/u/8626159?v=4)](https://github.com/samiaraboglu "samiaraboglu (3 commits)")

---

Tags

facebookmessengersymfonysymfony-bundleapisymfonyfacebookSymfony BundleMessenger

### Embed Badge

![Health badge](/badges/samiaraboglu-fb-messenger-api-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/samiaraboglu-fb-messenger-api-bundle/health.svg)](https://phpackages.com/packages/samiaraboglu-fb-messenger-api-bundle)
```

###  Alternatives

[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

12017.1k](/packages/rcsofttech-audit-trail-bundle)[ecotone/symfony-bundle

Ecotone for Symfony — CQRS, Event Sourcing, Sagas, Durable Workflows, and Outbox on top of Symfony Messenger, via PHP attributes.

11258.2k1](/packages/ecotone-symfony-bundle)[ahmed-bhs/doctrine-doctor

Runtime analysis tool for Doctrine ORM integrated into Symfony Web Profiler. Unlike static linters, it analyzes actual query execution at runtime to detect performance bottlenecks, security vulnerabilities, and best practice violations during development with real execution context and data.

12413.3k](/packages/ahmed-bhs-doctrine-doctor)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1617.3k16](/packages/2lenet-crudit-bundle)

PHPackages © 2026

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