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 3w 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 9% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity38

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

1933d 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

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[craftcms/cms

Craft CMS

3.6k3.6M3.0k](/packages/craftcms-cms)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M46](/packages/tencentcloud-tencentcloud-sdk-php)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[files.com/files-php-sdk

Files.com PHP SDK

2481.1k](/packages/filescom-files-php-sdk)

PHPackages © 2026

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