PHPackages                             albo-vieira/push-notification - 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. albo-vieira/push-notification

ActiveLibrary

albo-vieira/push-notification
=============================

Send notifications for device mobiles

6401PHP

Since Aug 25Pushed 9y ago2 watchersCompare

[ Source](https://github.com/AlboVieira/push-notification)[ Packagist](https://packagist.org/packages/albo-vieira/push-notification)[ RSS](/packages/albo-vieira-push-notification/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (4)Used By (0)

push-notification
=================

[](#push-notification)

Send push-notifications for Android(with GCM) and IOS.

Install
=======

[](#install)

```
composer require albo-vieira/push-notification dev-master
```

Usage
=====

[](#usage)

Copy the file push\_config and require it in your project, set the options as you need.

```
include('push_config.php');
```

ANDROID

```
$result = $android = PushNotification\PushFactory::getInstance('android', $pushConfig)
    ->withTokens([
        'TOKENS',
    ])
    ->withNotification(['title' => 'title', 'text' => 'Texto'])
    ->send();
print_r($result);
```

IOS

```
$result = $ios = PushNotification\PushFactory::getInstance('ios', $pushConfig)
    ->withTokens(['TOKENS'])
    ->withNotification(['alert' => 'Texto', 'badge' => 1, 'sound' => 'default'])
    ->send();
print_r($result);
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity45

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/21f498daad6597f68eae6faf4babc24cf4fcf18641c53dea879a3a3d393e1159?d=identicon)[AlboVieira](/maintainers/AlboVieira)

---

Top Contributors

[![albovieira](https://avatars.githubusercontent.com/u/6727150?v=4)](https://github.com/albovieira "albovieira (49 commits)")

### Embed Badge

![Health badge](/badges/albo-vieira-push-notification/health.svg)

```
[![Health](https://phpackages.com/badges/albo-vieira-push-notification/health.svg)](https://phpackages.com/packages/albo-vieira-push-notification)
```

PHPackages © 2026

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