PHPackages                             aprbrother/ab-ble-gateway - 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. aprbrother/ab-ble-gateway

ActiveLibrary

aprbrother/ab-ble-gateway
=========================

SDK for AB BLE Gateway

62576[3 issues](https://github.com/AprilBrother/ab-ble-gateway-sdk-php/issues)PHP

Since May 8Pushed 6y ago2 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

PHP SDK for AB BLE Gateway

Installation
------------

[](#installation)

- Install composer
- Run

```
composer require aprbrother/ab-ble-gateway=dev-master

```

For BLE Gateway V4, you should install msgpack extension also

`pecl install msgpack`

Usage
-----

[](#usage)

### Gateway V4

[](#gateway-v4)

```
$parser     = new AprBrother\PacketParser4();
$meta       = $parser->parse($content);
$rawData    = $meta['devices'];
$data       = [];
unset($meta['devices']);
foreach($rawData as $v) {
    $data[] = $parser->parse($v);
}

```

### Gateway V2 or V3

[](#gateway-v2-or-v3)

```
$parser = new AprBrother\PacketParser();
list($meta, $data) = $parser->parse($content);

```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity33

Early-stage or recently created project

 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/e9a81966530e21c547ed93973d6fc96d9f48d0565ec87146225cb6c7d32f476b?d=identicon)[aprbrother](/maintainers/aprbrother)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/aprbrother-ab-ble-gateway/health.svg)

```
[![Health](https://phpackages.com/badges/aprbrother-ab-ble-gateway/health.svg)](https://phpackages.com/packages/aprbrother-ab-ble-gateway)
```

PHPackages © 2026

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