PHPackages                             mangdin/trustsec - 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. mangdin/trustsec

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

mangdin/trustsec
================

TrustSec学生机PHP SDK

1.1(6y ago)035MITPHP

Since Nov 14Pushed 6y ago1 watchersCompare

[ Source](https://github.com/mangdin/TrustSec)[ Packagist](https://packagist.org/packages/mangdin/trustsec)[ RSS](/packages/mangdin-trustsec/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

TrustSec
========

[](#trustsec)

TrustSec学生机 PHP sdk

```
    $ts = new TrustSecClient(账户,密码);
    echo "获取设备列表\n";
    //        print_r($ts->getDeviceList());

    echo "添加设备\n";
    //        print_r($ts->addDevice('芒丁测试','18212341234'));

    echo "获取设备信息\n";
    //        print_r($ts->getDeviceDetial('177948'));

    echo "修改设备信息\n";
    //        print_r($ts->updateDeviceInfo('177948','芒丁测试88'));

    echo "获取亲情号码\n";
    //        print_r($ts->getPhoneConfig('177948'));

    echo "修改设备亲情号码\n";
    //        print_r($ts->setPhoneNumber('177948','18212341234,18212341234','18212341234'));

    echo "获取上课时间段\n";
    //        print_r($ts->getClassTime('177948'));

    echo "设置上课时间段\n";
    //        print_r($ts->setClassTime('177948','13:00','14:00','1234567'));

    echo "删除上课时间段\n";
    //        print_r($ts->delClassTime('177948','234196'));

    echo "获取定位时间段\n";
    //        print_r($ts->locReportList('177948'));

    echo "设置定位时间段\n";
    //        print_r($ts->setLocReport('177948','13:00','14:00','1234567'));

    echo "删除定位时间段\n";
    //        print_r($ts->delLocReport('177948','251092'));

    echo "同步激活数据\n";
    //        print_r($ts->activePhone('177948'));

```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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 ~1 days

Total

2

Last Release

2375d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/41657311?v=4)[mangdin](/maintainers/mangdin)[@mangdin](https://github.com/mangdin)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/mangdin-trustsec/health.svg)

```
[![Health](https://phpackages.com/badges/mangdin-trustsec/health.svg)](https://phpackages.com/packages/mangdin-trustsec)
```

###  Alternatives

[shlinkio/shlink

A self-hosted and PHP-based URL shortener application with CLI and REST interfaces

4.8k4.3k](/packages/shlinkio-shlink)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)[dhlparcel/magento2-plugin

DHL Parcel plugin for Magento 2

11180.5k2](/packages/dhlparcel-magento2-plugin)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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