dev-master
9999999-dev https://www.messagebird.comA PHP client for Pushprom
BSD-2-Clause
by MessageBird
Wallogit.com
2017 © Pedro Peláez
A PHP client for Pushprom
This is a PHP client for Pushprom. If you use Yii 2 you may want to have a look at the Yii 2 client., (*1)
You can install the Pushprom PHP client through Composer by running:, (*3)
composer require messagebird/pushprom-php-client:1.0.0
Alternatively, add this to your composer.json:, (*4)
"require": {
"messagebird/pushprom-php-client": "1.0.0"
}
And then install by running:, (*5)
composer update messagebird/pushprom-php-client
$con = new \pushprom\Connection('udp://127.0.0.1:9090');
$gauge = new \pushprom\Gauge($con,
"fish_in_the_sea",
"we eat fish and new fish is born",
["species" => "Thalassoma noronhanum"]);
$gauge->set(2000);
The PHP client for Pushprom is licensed under The BSD 2-Clause License. Copyright (c) 2016, MessageBird, (*6)
A PHP client for Pushprom
BSD-2-Clause