PHPackages                             ehtan/upush-swoole - 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. ehtan/upush-swoole

ActiveLibrary

ehtan/upush-swoole
==================

友盟推送-兼容所有swoole协程版

2131PHP

Since Mar 10Pushed 6y ago1 watchersCompare

[ Source](https://github.com/EthanChenLi/umeng-push)[ Packagist](https://packagist.org/packages/ehtan/upush-swoole)[ RSS](/packages/ehtan-upush-swoole/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

友盟推送 swoole协程版
--------------

[](#友盟推送-swoole协程版)

调用示例
----

[](#调用示例)

### IOS

[](#ios)

```
    use ethan\lib\Android;
    use ethan\lib\Ios;
    use ethan\UpushFactory;

    $sign =""; //推送签名名称
    $token =''; //友盟token
    $appkey ="";
    $secret ="";
    $result = UpushFactory::getInstance($appkey,$secret)->push(new Ios(),$token,$sign,[
        "subtitle"=>"副标题",
        "title"=>"标题",
        "body"=>"内容"
    ],[
        //自定义的字段
         "type"=>"xx",
         "value"=>"xxx" ,
     ]);
```

### Andriod

[](#andriod)

```
    use ethan\lib\Android;
    use ethan\lib\Ios;
    use ethan\UpushFactory;

    $sign ="";
    $token ="";
    $appkey ="";
    $secret ="";
    $result = UpushFactory::getInstance($appkey,$secret)->push(new Android(),$token,$sign,
    [
       "subtitle"=>"副标题",
       "title"=>"标题",
       "body"=>"内容"
    ],[
        //自定义的字段
         "type"=>"xx",
         "value"=>"xxx"
    ]);
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity34

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://avatars.githubusercontent.com/u/6337626?v=4)[EthanChenLi](/maintainers/EthanChenLi)[@EthanChenLi](https://github.com/EthanChenLi)

---

Top Contributors

[![EthanChenLi](https://avatars.githubusercontent.com/u/6337626?v=4)](https://github.com/EthanChenLi "EthanChenLi (8 commits)")

### Embed Badge

![Health badge](/badges/ehtan-upush-swoole/health.svg)

```
[![Health](https://phpackages.com/badges/ehtan-upush-swoole/health.svg)](https://phpackages.com/packages/ehtan-upush-swoole)
```

PHPackages © 2026

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