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

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

zfstarter/zfs-push-notification
===============================

ZFSPushNotification

064PHP

Since May 22Pushed 11y ago1 watchersCompare

[ Source](https://github.com/ZFStarter/ZFSPushNotification)[ Packagist](https://packagist.org/packages/zfstarter/zfs-push-notification)[ RSS](/packages/zfstarter-zfs-push-notification/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

ZFSPushNotification
===================

[](#zfspushnotification)

[![Latest Stable Version](https://camo.githubusercontent.com/0024daa81281247766ba196f1acbc7f45ce93bbf7403346e8a558f384a4219a8/68747470733a2f2f706f7365722e707567782e6f72672f7a66737461727465722f7a66732d707573682d6e6f74696669636174696f6e2f762f737461626c652e706e67)](https://packagist.org/packages/zfstarter/zfs-push-notification)[![Total Downloads](https://camo.githubusercontent.com/811e97d3fcf5bd41c27d0204fa83c39cd912f1bb80b77e1eaef97cc7787cbc7c/68747470733a2f2f706f7365722e707567782e6f72672f7a66737461727465722f7a66732d707573682d6e6f74696669636174696f6e2f646f776e6c6f6164732e706e67)](https://packagist.org/packages/zfstarter/zfs-push-notification)[![Latest Unstable Version](https://camo.githubusercontent.com/801fa6d13d3add1364793fe4be068efcdadb648f2b8f4a1f1e5e065d096e8824/68747470733a2f2f706f7365722e707567782e6f72672f7a66737461727465722f7a66732d707573682d6e6f74696669636174696f6e2f762f756e737461626c652e706e67)](https://packagist.org/packages/zfstarter/zfs-push-notification)[![License](https://camo.githubusercontent.com/501ab4f82e79e76860dd2bbcf34d50eacc3db90fe27027d9ac5275f6a8e7e8d0/68747470733a2f2f706f7365722e707567782e6f72672f7a66737461727465722f7a66732d707573682d6e6f74696669636174696f6e2f6c6963656e73652e706e67)](https://packagist.org/packages/zfstarter/zfs-push-notification)

ZFSPushNotification

\###Установка:

Добавляем в `composer.json`:

```
{
    "require-dev": {
        "zfstarter/zfs-push-notification": "dev-master"
    }
}
```

И обновляем зависимость:

```
$ curl -s http://getcomposer.org/installer | php
$ php composer.phar update

```

В config\\autoload\\global.php

указываем SMTP настройки, дефолтные мыло и имя отправителя, а также, если необходимо заголовки:

```
return array(
//...
    'ZFSPushNotification' => array(
        'pathToPem' => realpath('file.p12.pem'),
        'sandbox' => true,
    ),
);
```

В config\\autoload\\application.config.php включаем модуль

```
    'modules'  => array(
        //...
        'ZFSPushNotification'
    ),
);
```

Также нужно убедиться, что у вас уже создана под него табличка:

```
CREATE TABLE `user_tokens` (
  `user_id` int(11) NOT NULL,
  `token` varchar(64) NOT NULL,
  `created` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`user_id`,`token`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8
```

\###Отправка мыла:

```
use ZFStarterMail\Model\Mail;
//...
$params = array(
    'userId' => 22,
    'message' => 'My notification!!!',
    'actionLocKey' => 'PLAY',
    'locKey' => 'GAME_PLAY_REQUEST_FORMAT',
    'locArgs' => array('Jenna', 'Frank'),
    'launchImage' => 'Play.png',
    'badge' => 5,
    'sound' => 'bingbong.aiff',
);
PushNotification::sendNotification($this->getServiceLocator(), $params);
```

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

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/b68bf10f1dadd52bddfbb1a3efe1c7822583e6c96ac7834824654ad36cd0cc2d?d=identicon)[naxel](/maintainers/naxel)

![](https://www.gravatar.com/avatar/e4f54bfadf1b0fa52ebf1bdd7381abc801c94ef308f02ba60b3716dce84f641d?d=identicon)[filipp-qoma](/maintainers/filipp-qoma)

![](https://www.gravatar.com/avatar/62e06839728e4be3a26376de6535ef408ade1d38c90b5943286096588ff782d9?d=identicon)[farior2109](/maintainers/farior2109)

---

Top Contributors

[![naxel](https://avatars.githubusercontent.com/u/1148505?v=4)](https://github.com/naxel "naxel (5 commits)")

### Embed Badge

![Health badge](/badges/zfstarter-zfs-push-notification/health.svg)

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

###  Alternatives

[tijsverkoyen/css-to-inline-styles

CssToInlineStyles is a class that enables you to convert HTML-pages/files into HTML-pages/files with inline styles. This is very useful when you're sending emails.

5.8k505.3M228](/packages/tijsverkoyen-css-to-inline-styles)[minishlink/web-push

Web Push library for PHP

1.9k12.0M52](/packages/minishlink-web-push)[laravel-notification-channels/twilio

Provides Twilio notification channel for Laravel

2587.7M12](/packages/laravel-notification-channels-twilio)[spatie/url-signer

Generate a url with an expiration date and signature to prevent unauthorized access

4422.3M16](/packages/spatie-url-signer)[mattketmo/email-checker

Throwaway email detection library

2742.0M5](/packages/mattketmo-email-checker)[laravel-notification-channels/discord

Laravel notification driver for Discord.

2371.3M11](/packages/laravel-notification-channels-discord)

PHPackages © 2026

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