oliverlorenz / phpmqttclient Goto Github PK
View Code? Open in Web Editor NEWa mqtt client library for php
License: GNU Lesser General Public License v3.0
a mqtt client library for php
License: GNU Lesser General Public License v3.0
but you have not update it?
In the connector constructor it always uses the SocketClient Connector:
$this->socketConnector = new \React\SocketClient\Connector($loop, $resolver);
Would it be possible to somehow use the React\SocketClient\SecureConnector, perhaps by adding an options parameter?
We currently use the Mosquitto extension, but your package seems much more suited for usage with ReactPHP.
We use a mix of TLS and PSK connections to a Mosquitto broker, but I think TLS would be fine for our PHP applicaitons.
Hello everybody!
As you have surely noticed, it has become very quiet around this library. Unfortunately, I can't manage to maintain this library anymore and would like to ask if someone who is closer to the topic than I am would like to take it over.
Is anyone interested?
QOS>0 is OK?
Hello there,
When publishing messages where QoS > 0
, base on spec 2.3.1, it should have Package Identifier
, while this library seems not sending it and in packet/Publish.php
, $messageId
is not used.
The README is outdated, some suggestions:
->create
should be ->connect
composer require oliverlorenz/php-mqtt-client
User process fail(/mnt/d/www/devops/server/vendor/react/stream/src/WritableResourceStream.php Unable to set stream resource to non-blocking mode 35)!
When do you plan (or hope to) to make a version 1.0.0 release of this package?
And how can i do it ? Is there some examples ? Thank you very much!
In Code Climate the code coverage report is including some of the vendor
files as well as src
, so it's at 18% when it should be around 60%.
https://codeclimate.com/github/oliverlorenz/phpMqttClient/coverage
Current Situation
I figured out that SocketClientComponent is outdated. So we should get rid of this.
Expected Situation
Having multiple loops makes no sense when in the same thread, as the first loop blocks anyway.
Another benefit is to simplify the constructors, better manage dependencies, and share a single loop with other react libs.
no debug mode, just echo
. You will forced wrap a ob cache to flush echo message when call it in controller.
why do that? I never see a lib force run echo
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.