PHPackages                             umeng/umeng - 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. [Mail &amp; Notifications](/categories/mail)
4. /
5. umeng/umeng

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

umeng/umeng
===========

umeng laravel sdk

1.1.1(9y ago)63.0k1MITPHPPHP &gt;=5.4.0

Since Apr 5Pushed 9y ago2 watchersCompare

[ Source](https://github.com/shaobaojie/umeng)[ Packagist](https://packagist.org/packages/umeng/umeng)[ RSS](/packages/umeng-umeng/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (8)Used By (0)

UMeng PHP SDK For Laravel 5.2
=============================

[](#umeng-php-sdk-for-laravel-52)

整合修改官方的示例，融合到Laravel 5.2 中。

1.composer 安装

```
composer require umeng/umeng dev-master

```

2.在app.php 中添加ServiceProvider、Facades

```
'Umeng\UMengServiceProvider',

```

aliases:

```
'Android'           => 'Umeng\Facades\Android',
'IOS'               => 'Umeng\Facades\IOS',

```

3.配置文件

```
php artisan vendor:publish

```

修改配置文件 config/Services/umeng.php 填上你自己的Key Secret

4.示例

```
$apns = [
    'alert' => ['title'=>'biaoti','body'=>'fujingdexuanjianghu'],
    'badge' => 1,
    'sound' => 'bingbong.aiff'
    ];
return IOS::customizedcast('S100000567',$apns);

$body = [
    'ticker'=>'收到请告诉我',
    'title'=>'通知标题',
    'text'=>'通知文字描述',
    'after_open'=>'go_app'
    ];
return Android::customizedcast('S100000597', $body);

```

###  Health Score

32

—

LowBetter than 71% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity63

Established project with proven stability

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

Total

7

Last Release

3623d ago

### Community

Maintainers

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

---

Top Contributors

[![shaobaojie](https://avatars.githubusercontent.com/u/8967159?v=4)](https://github.com/shaobaojie "shaobaojie (1 commits)")

---

Tags

laravelpushnotificationgcmlaravel5apnsumeng

### Embed Badge

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

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

###  Alternatives

[sly/notification-pusher

Standalone PHP library for easy devices notifications push.

1.2k2.8M15](/packages/sly-notification-pusher)[edujugon/push-notification

Laravel Package to send push notifications to Android and IOS devices. (GCM,FCM,APN)

4891.4M1](/packages/edujugon-push-notification)[turbo124/laravel-push-notification

Laravel package to send push notifications to mobile devices (apns, gcm)

1157.9k](/packages/turbo124-laravel-push-notification)[witty/laravel-push-notification

Laravel 5 Package for sending push notifications to Android and iOS devices

245.0k](/packages/witty-laravel-push-notification)

PHPackages © 2026

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