PHPackages                             mattia/mqtt-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. [HTTP &amp; Networking](/categories/http)
4. /
5. mattia/mqtt-bundle

ActiveSymfony-bundle[HTTP &amp; Networking](/categories/http)

mattia/mqtt-bundle
==================

A Symfony bundle for seamless MQTT integration and IoT messaging

v0.1.0(8mo ago)74[1 issues](https://github.com/Speelwolf/MqttBundle/issues)MITPHPCI passing

Since Sep 8Pushed 8mo agoCompare

[ Source](https://github.com/Speelwolf/MqttBundle)[ Packagist](https://packagist.org/packages/mattia/mqtt-bundle)[ RSS](/packages/mattia-mqtt-bundle/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (8)Versions (2)Used By (0)

  ![Symfony MQTT Bundle](./docs/images/logo.png)

A comprehensive Symfony bundle for MQTT (Message Queuing Telemetry Transport) messaging with full TLS support and easy integration.

[![status](https://camo.githubusercontent.com/97327b7781b0ffc4b5bebf12a2cf84ec363f8e0cfe9e4c843505d60169d4d36b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7374617475732d5749502d6f72616e6765)](https://camo.githubusercontent.com/97327b7781b0ffc4b5bebf12a2cf84ec363f8e0cfe9e4c843505d60169d4d36b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7374617475732d5749502d6f72616e6765)[![License](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](LICENSE)[![Symfony](https://camo.githubusercontent.com/3241f6215ccd059f57f8e9fe733be92346552e20ff6ad97046c0526909d02ac6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f53796d666f6e792d362e342b2d677265656e2e737667)](https://symfony.com)[![PHP](https://camo.githubusercontent.com/45d36955804bf3f4f17097b05a7f41a28e578dc24e0d3ad0d21ae9d9762f44c6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e312b2d626c75652e737667)](https://php.net)[![Packagist](https://camo.githubusercontent.com/30469b2a07df89da1e500a0dca4cca19035ab72c5582b0b17d6f13003b87e28c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d61747469612f6d7174742d62756e646c65)](https://packagist.org/packages/mattia/mqtt-bundle)

✨ Features
----------

[](#-features)

- 🚀 **Seamless Integration**: Simple Symfony service injection and configuration
- 🔒 **Enterprise TLS Support**: Complete TLS/SSL configuration with certificate management
- 📦 **JSON Message Handling**: Built-in JSON serialization and deserialization
- 🎯 **Full QoS Support**: All MQTT Quality of Service levels (0, 1, 2)
- 🔧 **Flexible Configuration**: Environment-based configuration
- 📊 **PSR-3 Logging**: Comprehensive logging integration for debugging and monitoring
- 🛠️ **Console Commands**: Built-in CLI tools for testing and diagnostics

🚀 Coming Soon
-------------

[](#-coming-soon)

We are actively working on expanding the bundle's capabilities to provide a seamless integration between **Symfony** and **MQTT**.
Below is our planned roadmap — stay tuned for updates!

- **Event Dispatcher integration** for incoming messages
- **Multi-broker configuration** support
- **More Console commands**
- **MQTT v5 features** (user properties, reason codes, etc.)
- **Symfony Flex recipe** for quick installation &amp; configuration
- **Examples &amp; Docker setup** for local development

📦 Installation
--------------

[](#-installation)

### Step 1: Install via Composer

[](#step-1-install-via-composer)

```
composer require mattia/mqtt-bundle
```

### Step 2: Register the Bundle

[](#step-2-register-the-bundle)

Add the bundle to your `config/bundles.php`:

```
