PHPackages                             bpulse/bpulse-sdk-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. bpulse/bpulse-sdk-php

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

bpulse/bpulse-sdk-php
=====================

Bpulse PHP Conector

09PHP

Since Jan 27Pushed 9y ago2 watchersCompare

[ Source](https://github.com/bpulse/bpulse-sdk-php)[ Packagist](https://packagist.org/packages/bpulse/bpulse-sdk-php)[ RSS](/packages/bpulse-bpulse-sdk-php/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

bpulse/bpulse-sdk-php
=====================

[](#bpulsebpulse-sdk-php)

This is a conector between any PHP based application subscribed to BPULSE Service and the PULSES COLLECTOR REST SERVICE. This README explains how to integrate the conector with the target client application, configuration parameters and how to use it.

REQUIREMENTS
------------

[](#requirements)

- protocol buffers compiler library (libprotoc)

INSTALLING
----------

[](#installing)

The recommended way to install this connector is through Composer.

Add to your composer.json

```
"require": {
	"bpulse/bpulse-sdk-php": "dev-master",
	"bpulse/bpulse-protobuf-php": "dev-master"
}
```

run composer install

After installing, you need to require Composer's autoloader:

```
require 'vendor/autoload.php';
```

STARTING YOUR APPLICATION
-------------------------

[](#starting-your-application)

the first thing you should to do is generate the PHP classes you'll need to send Pulses. To do this, you need to run the following command on bpulse-protobuf-php repository folder located in vendor/bpulse

```
make build
```

The connector needs some configuration properties that indicate the client where to connect so you must provide a properties file, so to do that, append this config.json to the main folder of your application

```
{
	"host": "http://[bpulse.host]/app.collector/collector/pulses:port",
	"username": "collector@bpulse.com",
	"password": "collector123"
}
```

USAGE
-----

[](#usage)

The starting point are the BPulse\\Entity classes and Bpulse\\Rest\\Connector class. Then use a combination of methods to build the pulses you want to send according to the Pulse Definition made in BPULSE, for example:

```
//Add the namespaces

use Bpulse\Entity\Pulse;
use Bpulse\Entity\PulsesRQ;
use Bpulse\Entity\Value;
use Bpulse\Rest\Connector;

//Generate Pulses

$pulses= new PulsesRQ();
$pulses->setVersion("1.0");
$pulse= new Pulse();

$pulse->setInstanceId("1");
$pulse->setTypeId("bpulse_bpulse_processedPulses");
$milliseconds = round(microtime(true) * 1000);
$pulse->setTime($milliseconds);

$value= new Value;
$value->setName("nErrors");
$value->addValues("1");
$pulse->addValues($value);

$value= new Value;
$value->setName("nPulses");
$value->addValues("19");
$pulse->addValues($value);

$value= new Value;
$value->setName("rsInstance");
$value->addValues("Angel");
$pulse->addValues($value);

$value= new Value;
$value->setName("clientId");
$value->addValues("demo");
$pulse->addValues($value);

$value= new Value;
$value->setName("rsTime");
$value->addValues("1200");
$pulse->addValues($value);

$pulses->addPulse($pulse);

$connector= new Connector;

$code=$connector->send($pulses); //This return the http response status code
```

License
-------

[](#license)

The Bpulse SDK PHP is licensed under the Apache License 2.0. Details can be found in the LICENSE file.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/3cd6ab94b0b2d62b66dd12e70ab5ceff6d71b89c1fb4414bf21bcc156dac60c0?d=identicon)[bpulse-devel](/maintainers/bpulse-devel)

---

Top Contributors

[![AngelVRodC](https://avatars.githubusercontent.com/u/24271590?v=4)](https://github.com/AngelVRodC "AngelVRodC (4 commits)")

### Embed Badge

![Health badge](/badges/bpulse-bpulse-sdk-php/health.svg)

```
[![Health](https://phpackages.com/badges/bpulse-bpulse-sdk-php/health.svg)](https://phpackages.com/packages/bpulse-bpulse-sdk-php)
```

###  Alternatives

[hillholliday/craft-user-manual

Craft User Manual allows developers (or even content editors) to provide CMS documentation using Craft's built-in sections (singles, channels, or structures) to create a `User Manual` or `Help` section directly in the control panel.

8472.1k1](/packages/hillholliday-craft-user-manual)[laravolt/semantic-form

Semantic UI form helpers

5213.0k2](/packages/laravolt-semantic-form)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
