# pushprom-php-client **Repository Path**: mirrors_craigmj/pushprom-php-client ## Basic Information - **Project Name**: pushprom-php-client - **Description**: PHP client for Pushprom - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-24 - **Last Updated**: 2026-03-15 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Pushprom PHP client This is a PHP client for [Pushprom](https://github.com/messagebird/pushprom). If you use Yii 2 you may want to have a look at the [Yii 2 client](https://github.com/messagebird/pushprom-yii-client). This fork differes from the original by 1 Including an `include.php` file to include the required files without using Composer et al. 1 Using `array()` instead of `[]` to work with older PHP versions. [![Latest Stable Version](https://poser.pugx.org/messagebird/pushprom-php-client/v/stable.svg)](https://packagist.org/packages/messagebird/pushprom-php-client) [![License](https://poser.pugx.org/messagebird/pushprom-php-client/license.svg)](https://packagist.org/packages/messagebird/pushprom-php-client) ## Installing You can install the Pushprom PHP client through Composer by running: ```bash composer require messagebird/pushprom-php-client:1.0.0 ``` Alternatively, add this to your `composer.json`: ```json "require": { "messagebird/pushprom-php-client": "1.0.0" } ``` And then install by running: ```bash composer update messagebird/pushprom-php-client ``` Alternatively, you can simply include the required files with: ```include_once('pushprom-php-client/include.php');``` ## Usage ```php $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); ``` ## License The PHP client for Pushprom is licensed under [The BSD 2-Clause License](http://opensource.org/licenses/BSD-2-Clause). Copyright (c) 2016, MessageBird