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)0222MITPHPPHP &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 6d ago

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

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

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

2026d 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

[kerox/messenger

PHP Library to interact with Facebook Messenger Platform

58302.1k1](/packages/kerox-messenger)[harmbandstra/swagger-ui-bundle

Exposes swagger UI inside your Symfony project through a route (eg. /docs)

42867.3k](/packages/harmbandstra-swagger-ui-bundle)[mtarld/api-platform-ms-bundle

API Platform Microservice Bundle

7124.5k](/packages/mtarld-api-platform-ms-bundle)[nanofelis/json-rpc-bundle

This bundle provides a JSON RPC 2.0 implementation for Symfony

1176.1k](/packages/nanofelis-json-rpc-bundle)[ufo-tech/json-rpc-sdk-bundle

The Symfony bundle for simple usage Json-RPC api with dynamic SDK

172.5k](/packages/ufo-tech-json-rpc-sdk-bundle)

PHPackages © 2026

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