luzhuqun / Laravel Mqtt Publish
A laravel mqtt publisher
Stars: ✭ 24
Projects that are alternatives of or similar to Laravel Mqtt Publish
Mqtt Laravel
A simple Laravel Library to connect/publish/subscribe to MQTT broker
Stars: ✭ 88 (+266.67%)
Mutual labels: laravel, mqtt
Simple Cache
An easy to use Caching trait for Laravel's Eloquent Models.
Stars: ✭ 19 (-20.83%)
Mutual labels: laravel
Laravel Scout Tntsearch Driver
Driver for Laravel Scout search package based on https://github.com/teamtnt/tntsearch
Stars: ✭ 917 (+3720.83%)
Mutual labels: laravel
Vms
VMS is your Video Subscription Platform. Add unlimited videos, posts, and pages to your subscription site. Earn re-curring revenue and require users to subscribe to access premium content on your website.
Stars: ✭ 23 (-4.17%)
Mutual labels: laravel
Eloquent Filter
This simple package helps you filter Eloquent data using query filters.
Stars: ✭ 24 (+0%)
Mutual labels: laravel
Eloquent Sortable
Sortable behaviour for Eloquent models
Stars: ✭ 914 (+3708.33%)
Mutual labels: laravel
Ddev
DDEV-Local: a local PHP development environment system
Stars: ✭ 915 (+3712.5%)
Mutual labels: laravel
Validating
Automatically validating Eloquent models for Laravel
Stars: ✭ 906 (+3675%)
Mutual labels: laravel
Laravel Sri
Subresource Integrity hash generator for laravel
Stars: ✭ 23 (-4.17%)
Mutual labels: laravel
Eloquent Ldap
A Laravel 5.1 package that first tries to log the user against the internal database if that fails, it tries against the configured LDAP/AD server.
Stars: ✭ 19 (-20.83%)
Mutual labels: laravel
Tenancy
Run multiple websites using the same Laravel installation while keeping tenant specific data separated for fully independent multi-domain setups.
Stars: ✭ 916 (+3716.67%)
Mutual labels: laravel
Laravel Mqtt Publisher
Mqtt is used to publish messages from backend to andriod.
Getting start
composer require luzhuqun/laravel-mqtt-publish
How to use
use Lzq\Mqtt\SamMessage;
use Lzq\Mqtt\SamConnection;
$conn = new SAMConnection();//create a new connection object
$conn->connect('mqtt', array('SAM_HOST' => '192.168.10.147', 'SAM_PORT' => '1883'));//start initialise the connection
$msgCpu = new SAMMessage('hehe');//create a new MQTT message with the output of the shell command as the body
$conn->send('topic://'.'tokudu/ab7867d9fd60db65', $msgCpu);//send the message on the topic cpu
$conn->disconnect();
Learn more
A complet mqtt service incluede publisher, service and subscriber.
service
subscriber
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].