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. [Utility &amp; Helpers](/categories/utility)
4. /
5. xu5g/bluebird-sdk-php

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

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

TSP连接SDK

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

Since Jun 8Pushed 3y 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 today

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 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity51

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

1101d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/55525242?v=4)[旭五吉](/maintainers/xu5g)[@xu5g](https://github.com/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

[dueros/bot-sdk

度秘bot开发的PHP SDK

7514.8k1](/packages/dueros-bot-sdk)[zephir/kirby-contentsync

Kirby contentsync plugin

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

PHPackages © 2026

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