PHPackages                             binsoul/net-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. binsoul/net-mqtt

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

binsoul/net-mqtt
================

MQTT protocol implementation

2.0.1(3mo ago)28897.8k↑18.8%157MITPHPPHP &gt;=8.3

Since Aug 10Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/binsoul/net-mqtt)[ Packagist](https://packagist.org/packages/binsoul/net-mqtt)[ Docs](https://github.com/binsoul/net-mqtt)[ RSS](/packages/binsoul-net-mqtt/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (5)Versions (15)Used By (7)

net-mqtt
========

[](#net-mqtt)

[![Latest Version on Packagist](https://camo.githubusercontent.com/ae9be59e862c1ec84acb9ddd5fa87fde7d2c5ab7b11cd1ffb95b917c7392062d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f62696e736f756c2f6e65742d6d7174742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/binsoul/net-mqtt)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/ea40e220cd5b47642025bf1a6951a98b4e95ab6476313de7242ab56b46842aa6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f62696e736f756c2f6e65742d6d7174742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/binsoul/net-mqtt)[![Build Status](https://camo.githubusercontent.com/290ead575e4c79859efd78a02fd6dedd38d3e2f953d44ef8ecf43feff98f1c31/68747470733a2f2f7472617669732d63692e6f72672f62696e736f756c2f6e65742d6d7174742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/binsoul/net-mqtt)

MQTT is a machine-to-machine (M2M) / Internet of Things (IoT) connectivity protocol. It provides a lightweight method of carrying out messaging using a publish/subscribe model.

This package implements the MQTT protocol versions 3.1 and 3.1.1.

Install
-------

[](#install)

Via composer:

```
$ composer require binsoul/net-mqtt
```

Testing
-------

[](#testing)

```
$ composer test
```

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

63

—

FairBetter than 99% of packages

Maintenance78

Regular maintenance activity

Popularity48

Moderate usage in the ecosystem

Community23

Small or concentrated contributor base

Maturity86

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 97.9% 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 ~265 days

Recently: every ~435 days

Total

14

Last Release

119d ago

Major Versions

0.8.1 → 1.0.02026-01-09

1.1.0 → 2.0.02026-01-19

PHP version history (6 changes)0.1.0PHP ~5.6|~7.0

0.5.0PHP ^7.0

0.6.0PHP ^7.2

0.8.1PHP ^7.2 || ^8.0

1.0.0PHP ^7.4 || ^8.0

2.0.0PHP &gt;=8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/ea039bd8209932709ee8ab4ed6e427fde6a09b22be56aa31d823933252c97b7d?d=identicon)[binsoul](/maintainers/binsoul)

---

Top Contributors

[![binsoul](https://avatars.githubusercontent.com/u/14879936?v=4)](https://github.com/binsoul "binsoul (139 commits)")[![erdemuncuoglu](https://avatars.githubusercontent.com/u/4586452?v=4)](https://github.com/erdemuncuoglu "erdemuncuoglu (1 commits)")[![peter279k](https://avatars.githubusercontent.com/u/9021747?v=4)](https://github.com/peter279k "peter279k (1 commits)")[![valga](https://avatars.githubusercontent.com/u/23472603?v=4)](https://github.com/valga "valga (1 commits)")

---

Tags

mqttmqtt-protocolnetmqtt

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Rector

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[php-mqtt/laravel-client

A wrapper for the php-mqtt/client library for Laravel.

228539.3k1](/packages/php-mqtt-laravel-client)[binsoul/net-mqtt-client-react

Asynchronous MQTT client built on React

48787.8k24](/packages/binsoul-net-mqtt-client-react)[trentrichardson/cakephp-shrink

Compiles, combines, and minifies javascript, coffee, less, scss, and css

1619.3k](/packages/trentrichardson-cakephp-shrink)

PHPackages © 2026

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