PHPackages                             mark0325/hjpush - 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. mark0325/hjpush

ActiveLibrary

mark0325/hjpush
===============

hyperf jpush

v0.1.2(6y ago)1869MITPHPPHP &gt;=7.2

Since Apr 11Pushed 1y ago1 watchersCompare

[ Source](https://github.com/mark0325/hjpush)[ Packagist](https://packagist.org/packages/mark0325/hjpush)[ RSS](/packages/mark0325-hjpush/feed)WikiDiscussions master Synced today

READMEChangelog (1)DependenciesVersions (2)Used By (0)

hyperf jupush
=============

[](#hyperf-jupush)

暂时只支持push，其它后续添加

### 安装

[](#安装)

composer require mark0325/hjpush

### 发布配置

[](#发布配置)

php bin/hyperf.php vendor:publish mark0325/hjpush

### 示例代码

[](#示例代码)

```
use mark0325\hjpush\Client;

$extras = ['data' => 131231];
$push = (new Client())->push();
try {
    $res = $push->setAlias('a')
        ->setAlert('1231241231')
        ->setAndroidNotification(['extras' => ['data' => $extras]])
        ->setIosNotification(['extras' => ['data' => $extras]])
        ->send();
} catch (\Throwable $e) {
    return $e->getMessage();
}
```

### 设备相关

[](#设备相关)

示例

```
use mark0325\hjpush\Client;

$device = (new Client())->device();
try {
    $res = $device->getAliases('a');
} catch (\Throwable $e) {
    return $e->getMessage();
}
```

方法说明getInfo查询设备的别名与标签setInfo设置设备的别名与标签getAliases查询别名deleteAliases删除别名postAliases批量解绑设备与别名之间的关系getTags查询标签checkTags查询某个设备是否在 tag 下postTags为一个标签添加或者删除设备deleteTags删除一个标签，以及标签与设备之间的关联关系getDevicesStatus获取设备在线状态（VIP 专属接口）

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community7

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2221d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5d7e4dda05a641ba5a7a2322927360e8a9b90678ea2491017884cc215d06cc65?d=identicon)[mark0325](/maintainers/mark0325)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/mark0325-hjpush/health.svg)

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

PHPackages © 2026

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