This is a simple example of how send MQTT messages using PHP
PHP JavaScript
Latest commit c707789 Nov 17, 2012 @tokudu Merge pull request #1 from yudiervv/patch-1
Update SAM/MQTT/sam_mqtt.php

README

Everything here is licenced under Apache 2.0
http://www.apache.org/licenses/LICENSE-2.0