PHPackages                             pandelix/u-push - 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. pandelix/u-push

ActiveLibrary

pandelix/u-push
===============

www.umeng.com

0.0.1(5y ago)012PHPPHP &gt;=5.6.40 | ^7.0

Since Mar 18Pushed 5y ago1 watchersCompare

[ Source](https://github.com/pandelix/upush)[ Packagist](https://packagist.org/packages/pandelix/u-push)[ RSS](/packages/pandelix-u-push/feed)WikiDiscussions main Synced 1w ago

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

UPush API PHP Client
====================

[](#upush-api-php-client)

这是 UPush REST API 的 PHP 版本封装开发包。

对应的 REST API 文档:

> 支持的 PHP 版本: 5.6.x, 7.x

Installation
------------

[](#installation)

#### 使用 Composer 安装

[](#使用-composer-安装)

- 在项目中的 `composer.json` 文件中添加 upush 依赖：

```
"require": {
    "pandelix/upush": "*"
}
```

- 执行 `$ php composer.phar install` 或 `$ composer install` 进行安装。

#### 初始化

[](#初始化)

```
...
use UPush\Client as Upush;
...

$app_infos = [
    'android' => ['appkey' => 'xx', 'secret' => 'xx'],
    'ios' => ['appkey' => 'xx', 'secret' => 'xx']
];
$client = new Upush($app_infos);
$ret = $client->test()->sendListcast('xx,xx', ['custom' => 'xxxxx'], 'message');
if ($ret === true) {
    echo '发送成功' . PHP_EOL;
} else {
    echo $ret;
}

...
```

License
-------

[](#license)

The library is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity37

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1887d ago

### Community

Maintainers

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

---

Top Contributors

[![pandelix](https://avatars.githubusercontent.com/u/47265313?v=4)](https://github.com/pandelix "pandelix (6 commits)")

### Embed Badge

![Health badge](/badges/pandelix-u-push/health.svg)

```
[![Health](https://phpackages.com/badges/pandelix-u-push/health.svg)](https://phpackages.com/packages/pandelix-u-push)
```

###  Alternatives

[neuron-core/neuron-ai

The PHP Agentic Framework.

1.8k245.3k21](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[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)
