A PHP class that publishes data to StatHat