PHPackages                             kl3sk/mqtt-transport-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. kl3sk/mqtt-transport-bundle

ActiveSymfony-bundle

kl3sk/mqtt-transport-bundle
===========================

Provide a MQTT transport for symfony messenger

2182PHP

Since Jun 16Pushed 2y ago1 watchersCompare

[ Source](https://github.com/kl3sk/MqttTransportBundle)[ Packagist](https://packagist.org/packages/kl3sk/mqtt-transport-bundle)[ RSS](/packages/kl3sk-mqtt-transport-bundle/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

(WIP) Kl3sk/MqttTransportBundle
===============================

[](#wip-kl3skmqtttransportbundle)

### Note: This bundle is a work in progress

[](#note-this-bundle-is-a-work-in-progress)

This bundle provide a MQTT transport for symfony messenger.

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

[](#installation)

```
composer require kl3sk/mqtt-transport-bundle:@dev
```

Configuration
-------------

[](#configuration)

```
MESSENGER_MQTT_TRANSPORT_DSN=mqtt://user:password@broker:1883
MQTT_CLIENT_ID=symfonyclient
MQTT_TOPICS='/topic1,/topic2'
```

Create your Message and Message handler [Symfony documentation](https://symfony.com/doc/current/messenger.html)

*services.yaml*

```
services:
    framework:
        messenger:
            # ... your definitions
            transports:
                mqtt:
                    dsn: '%env(MESSENGER_MQTT_TRANSPORT_DSN)%'
                    serializer: Kl3sk\MqttTransportBundle\Serializer\JsonMessageSerializer
            routing:
                # Route your messages to the transports
                'Kl3sk\MqttTransportBundle\Message\ExampleMessage': mqtt
```

Examples
--------

[](#examples)

See in the `Mqtt` folder

Demo
----

[](#demo)

You can find a demo [here](https://github.com/kl3sk/mqtt-transport-demo)

### Thanks

[](#thanks)

Thanks to [Namoshek](https://github.com/Namoshek) for his client and his help.

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity22

Early-stage or recently created project

 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/5d1a55bd31a50f5cad05e286f50e7fb3534b39fee2450bb5822c0c51d8caba29?d=identicon)[klesk](/maintainers/klesk)

---

Top Contributors

[![kl3sk](https://avatars.githubusercontent.com/u/2953145?v=4)](https://github.com/kl3sk "kl3sk (18 commits)")

### Embed Badge

![Health badge](/badges/kl3sk-mqtt-transport-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/kl3sk-mqtt-transport-bundle/health.svg)](https://phpackages.com/packages/kl3sk-mqtt-transport-bundle)
```

PHPackages © 2026

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