PHPackages                             xu5g/bluebird-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. xu5g/bluebird-sdk-php

ActiveLibrary

xu5g/bluebird-sdk-php
=====================

TSP连接SDK

1.0.5(2y ago)015MITPHPPHP &gt;=7.2.0

Since Jun 8Pushed 2y ago2 watchersCompare

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

READMEChangelogDependencies (1)Versions (7)Used By (0)

TspSDK
------

[](#tspsdk)

Tsp系统的HTTP中间件层连接SDK。

`V 1.0.0`

使用方法
----

[](#使用方法)

```
use liu\tsp\Auth;
use liu\tsp\TspClient;

try{
     $config = [
        'gateway'=>'',
        'secret'=>'',
        'appkey'=>''
     ];
     $auth = new Auth($config);
     $token = $client->getToken();
     //获取到token后将token存储，调用其他接口时作为必传参数传入；
     $client = new TspClient($config);
     $token = $client->getToken();
     $conf = [
        'gateway'=>'',
        'appkey'=>'',
        'token'=>''
     ];
     $client = new TspClient($conf);
     $res = $client->setHost($imei_sn,$host,$port);
     if($res['status'] == 0){
        return true;
     }
}catch(\Excetion $e){
     ......
}
```

设置亲情号码
------

[](#设置亲情号码)

`setFamilies`

```
$families = [
    [
        'relation'=>'爷爷',
        'mobile'=>'13533333333'
    ],
    [
        'relation'=>'爸爸',
        'mobile'=>'13533333332'
    ]
];

$client->setFamilies($imei_sn,$families);
```

**注意：每次设置，必须把此设备所有的亲情号码传输过来**

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity50

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.

###  Release Activity

Cadence

Every ~150 days

Recently: every ~187 days

Total

6

Last Release

1046d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ed2435ad2b04388abff7313e1757fd9663a3ba22fec06e4352e44a8f4d49ab6c?d=identicon)[xu5g](/maintainers/xu5g)

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[paynl/sdk

401.5M11](/packages/paynl-sdk)[allyans3/steam-market-api-v2

Steam Market API v2

1937.3k](/packages/allyans3-steam-market-api-v2)[cristal/php-api-wrapper

Work with APIs like with Laravel Eloquent or Doctrine (no longer a dream)

12594.9k](/packages/cristal-php-api-wrapper)[chapter-three/apple-news-api

Push content to Apple News.

38307.5k2](/packages/chapter-three-apple-news-api)[labs64/netlicensingclient-php

PHP wrapper for Labs64 NetLicensing RESTful API

1450.4k1](/packages/labs64-netlicensingclient-php)[zephir/kirby-contentsync

Kirby contentsync plugin

543.0k](/packages/zephir-kirby-contentsync)

PHPackages © 2026

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