---
title: "salmanzafar/laravel-mqtt 4.0.0 Breaking Changes on Packagist"
description: "What each salmanzafar/laravel-mqtt release removed, renamed or changed: 25 breaking changes in 1 version on Packagist, each with its source."
canonical_url: https://since.dev/packages/packagist/salmanzafar/laravel-mqtt
last_updated: 2026-12-04
---

# salmanzafar/laravel-mqtt breaking changes

salmanzafar/laravel-mqtt 4.0.0 (November 23, 2026) is its newest release with breaking changes, 25 of them. The first: Removed Salman\\Mqtt\\MqttClass\\Mqtt::$cert_file. Every breaking API change we have recorded in salmanzafar/laravel-mqtt on Packagist: 25 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `4.0.0`, released November 23, 2026. MIT license. [Source repository](https://github.com/salmanzafar949/MQTT-Laravel)

Packages on Packagist run on PHP. [PHP end of life dates](https://since.dev/calendar/php.md).

## salmanzafar/laravel-mqtt 4.0.0 breaking changes

salmanzafar/laravel-mqtt 4.0.0, released November 23, 2026: 25 breaking changes.

- **Removed** `Salman\Mqtt\MqttClass\Mqtt::$cert_file`  

Salman\\Mqtt\\MqttClass\\Mqtt::$cert_file was removed in salmanzafar/laravel-mqtt 4.0.0 [packagist.org](https://packagist.org/packages/salmanzafar/laravel-mqtt#4.0.0)
- **Removed** `Salman\Mqtt\MqttClass\Mqtt::$debug`  

Salman\\Mqtt\\MqttClass\\Mqtt::$debug was removed in salmanzafar/laravel-mqtt 4.0.0 [packagist.org](https://packagist.org/packages/salmanzafar/laravel-mqtt#4.0.0)
- **Removed** `Salman\Mqtt\MqttClass\Mqtt::$exceptions`  

Salman\\Mqtt\\MqttClass\\Mqtt::$exceptions was removed in salmanzafar/laravel-mqtt 4.0.0 [packagist.org](https://packagist.org/packages/salmanzafar/laravel-mqtt#4.0.0)
- **Removed** `Salman\Mqtt\MqttClass\Mqtt::$host`  

Salman\\Mqtt\\MqttClass\\Mqtt::$host was removed in salmanzafar/laravel-mqtt 4.0.0 [packagist.org](https://packagist.org/packages/salmanzafar/laravel-mqtt#4.0.0)
- **Removed** `Salman\Mqtt\MqttClass\Mqtt::$keepalive`  

Salman\\Mqtt\\MqttClass\\Mqtt::$keepalive was removed in salmanzafar/laravel-mqtt 4.0.0 [packagist.org](https://packagist.org/packages/salmanzafar/laravel-mqtt#4.0.0)
- **Removed** `Salman\Mqtt\MqttClass\Mqtt::$local_cert`  

Salman\\Mqtt\\MqttClass\\Mqtt::$local_cert was removed in salmanzafar/laravel-mqtt 4.0.0 [packagist.org](https://packagist.org/packages/salmanzafar/laravel-mqtt#4.0.0)
- **Removed** `Salman\Mqtt\MqttClass\Mqtt::$local_pk`  

Salman\\Mqtt\\MqttClass\\Mqtt::$local_pk was removed in salmanzafar/laravel-mqtt 4.0.0 [packagist.org](https://packagist.org/packages/salmanzafar/laravel-mqtt#4.0.0)
- **Removed** `Salman\Mqtt\MqttClass\Mqtt::$password`  

Salman\\Mqtt\\MqttClass\\Mqtt::$password was removed in salmanzafar/laravel-mqtt 4.0.0 [packagist.org](https://packagist.org/packages/salmanzafar/laravel-mqtt#4.0.0)
- **Removed** `Salman\Mqtt\MqttClass\Mqtt::$port`  

Salman\\Mqtt\\MqttClass\\Mqtt::$port was removed in salmanzafar/laravel-mqtt 4.0.0 [packagist.org](https://packagist.org/packages/salmanzafar/laravel-mqtt#4.0.0)
- **Removed** `Salman\Mqtt\MqttClass\Mqtt::$qos`  

Salman\\Mqtt\\MqttClass\\Mqtt::$qos was removed in salmanzafar/laravel-mqtt 4.0.0 [packagist.org](https://packagist.org/packages/salmanzafar/laravel-mqtt#4.0.0)
- **Removed** `Salman\Mqtt\MqttClass\Mqtt::$retain`  

Salman\\Mqtt\\MqttClass\\Mqtt::$retain was removed in salmanzafar/laravel-mqtt 4.0.0 [packagist.org](https://packagist.org/packages/salmanzafar/laravel-mqtt#4.0.0)
- **Removed** `Salman\Mqtt\MqttClass\Mqtt::$timeout`  

Salman\\Mqtt\\MqttClass\\Mqtt::$timeout was removed in salmanzafar/laravel-mqtt 4.0.0 [packagist.org](https://packagist.org/packages/salmanzafar/laravel-mqtt#4.0.0)
- **Removed** `Salman\Mqtt\MqttClass\Mqtt::$tls`  

Salman\\Mqtt\\MqttClass\\Mqtt::$tls was removed in salmanzafar/laravel-mqtt 4.0.0 [packagist.org](https://packagist.org/packages/salmanzafar/laravel-mqtt#4.0.0)
- **Removed** `Salman\Mqtt\MqttClass\Mqtt::$username`  

Salman\\Mqtt\\MqttClass\\Mqtt::$username was removed in salmanzafar/laravel-mqtt 4.0.0 [packagist.org](https://packagist.org/packages/salmanzafar/laravel-mqtt#4.0.0)
- **Removed** `Salman\Mqtt\MqttClass\MqttService`  

Salman\\Mqtt\\MqttClass\\MqttService was removed in salmanzafar/laravel-mqtt 4.0.0 [packagist.org](https://packagist.org/packages/salmanzafar/laravel-mqtt#4.0.0)
- **Signature changed** `Salman\Mqtt\Console\MqttSubscribeCommand::registerSignalHandlers`  

Was protected function registerSignalHandlers(); now protected function registerSignalHandlers($connection). [packagist.org](https://packagist.org/packages/salmanzafar/laravel-mqtt#4.0.0)
- **Signature changed** `Salman\Mqtt\Jobs\PublishMqttMessage::__construct`  

Was public function \_\_construct($topic, $message, $clientId = null, $retain = null, $connection = null); now public function \_\_construct($topic, $message, $clientId = null, $retain = null, $connection = null, $qos = null). [packagist.org](https://packagist.org/packages/salmanzafar/laravel-mqtt#4.0.0)
- **Signature changed** `Salman\Mqtt\MqttClass\Mqtt::__construct`  

Was public function \_\_construct(?array $config = null, $connection = 'default'); now public function \_\_construct(?array $config = null, $connection = null). [packagist.org](https://packagist.org/packages/salmanzafar/laravel-mqtt#4.0.0)
- **Signature changed** `Salman\Mqtt\MqttClass\Mqtt::ConnectAndPublish`  

Was public function ConnectAndPublish($topic, $msg, $client_id = null, $retain = null); now public function ConnectAndPublish($topic, $msg, $client_id = null, $retain = null, $qos = null). [packagist.org](https://packagist.org/packages/salmanzafar/laravel-mqtt#4.0.0)
- **Signature changed** `Salman\Mqtt\MqttClass\Mqtt::ConnectAndSubscribe`  

Was public function ConnectAndSubscribe($topic, $proc, $client_id = null); now public function ConnectAndSubscribe($topic, $proc, $client_id = null, $qos = null). [packagist.org](https://packagist.org/packages/salmanzafar/laravel-mqtt#4.0.0)
- **Signature changed** `Salman\Mqtt\MqttClass\Mqtt::makeClient`  

Was protected function makeClient($clientId); now protected function makeClient($clientId, Repository $repository). [packagist.org](https://packagist.org/packages/salmanzafar/laravel-mqtt#4.0.0)
- **Signature changed** `Salman\Mqtt\MqttManager::queue`  

Was public function queue($topic, $message, $clientId = null, $retain = null, $connection = null); now public function queue($topic, $message, $clientId = null, $retain = null, $connection = null, $qos = null). [packagist.org](https://packagist.org/packages/salmanzafar/laravel-mqtt#4.0.0)
- **Signature changed** `Salman\Mqtt\Testing\MqttFake::ConnectAndPublish`  

Was public function ConnectAndPublish($topic, $msg, $client_id = null, $retain = null); now public function ConnectAndPublish($topic, $msg, $client_id = null, $retain = null, $qos = null). [packagist.org](https://packagist.org/packages/salmanzafar/laravel-mqtt#4.0.0)
- **Signature changed** `Salman\Mqtt\Testing\MqttFake::ConnectAndSubscribe`  

Was public function ConnectAndSubscribe($topic, $proc, $client_id = null); now public function ConnectAndSubscribe($topic, $proc, $client_id = null, $qos = null). [packagist.org](https://packagist.org/packages/salmanzafar/laravel-mqtt#4.0.0)
- **Signature changed** `Salman\Mqtt\Testing\MqttFake::queue`  

Was public function queue($topic, $message, $clientId = null, $retain = null, $connection = null); now public function queue($topic, $message, $clientId = null, $retain = null, $connection = null, $qos = null). [packagist.org](https://packagist.org/packages/salmanzafar/laravel-mqtt#4.0.0)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
