PHPackages                             fzadelj/mqtt - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. fzadelj/mqtt

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

fzadelj/mqtt
============

Lightweight MQTT client library

0951PHP

Since Apr 18Pushed 9y agoCompare

[ Source](https://github.com/fzadelj/Mqtt)[ Packagist](https://packagist.org/packages/fzadelj/mqtt)[ RSS](/packages/fzadelj-mqtt/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

MQTT client library
===================

[](#mqtt-client-library)

Lightweight library implementing MQTT client protocol for PHP. It works on both protocols (3.1 and 3.1.1). It has auto-connect so you just have to *publish* or *subscribe*, without calling *connect()* method.

Install
-------

[](#install)

composer require fzadelj/mqtt

Examples
--------

[](#examples)

Please see examples in [examples](https://github.com/fzadelj/Mqtt/tree/master/examples) folder.

Requirements
------------

[](#requirements)

PHP &gt;= 5.4 MQTT broker

Bugs
----

[](#bugs)

Will topic not implemented yet.

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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://avatars.githubusercontent.com/u/7866585?v=4)[Franjo Zadelj](/maintainers/fzadelj)[@fzadelj](https://github.com/fzadelj)

---

Top Contributors

[![fzadelj](https://avatars.githubusercontent.com/u/7866585?v=4)](https://github.com/fzadelj "fzadelj (1 commits)")

### Embed Badge

![Health badge](/badges/fzadelj-mqtt/health.svg)

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

PHPackages © 2026

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