PHPackages                             dabsquared/dabsquared-push-notifications-bundle - 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. dabsquared/dabsquared-push-notifications-bundle

AbandonedArchivedSymfony-bundle[Mail &amp; Notifications](/categories/mail)

dabsquared/dabsquared-push-notifications-bundle
===============================================

Push notifications/messages for mobile devices

1.2.1(7y ago)3010.4k5[4 issues](https://github.com/DABSquared/DABSquaredPushNotificationsBundle/issues)[1 PRs](https://github.com/DABSquared/DABSquaredPushNotificationsBundle/pulls)MITPHPPHP &gt;=5.3.3

Since Jun 4Pushed 7y ago8 watchersCompare

[ Source](https://github.com/DABSquared/DABSquaredPushNotificationsBundle)[ Packagist](https://packagist.org/packages/dabsquared/dabsquared-push-notifications-bundle)[ Docs](https://github.com/DABSquared/DABSquaredPushNotificationsBundle)[ RSS](/packages/dabsquared-dabsquared-push-notifications-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (12)Versions (7)Used By (0)

DABSquaredPushNotificationsBundle [![](https://camo.githubusercontent.com/bc8cdd85931fb0248284bde3a818677202455e1a924f6332327993494e33b578/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f62617373726f636b3439392f44414253717561726564507573684e6f74696669636174696f6e7342756e646c652e706e67)](https://camo.githubusercontent.com/bc8cdd85931fb0248284bde3a818677202455e1a924f6332327993494e33b578/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f62617373726f636b3439392f44414253717561726564507573684e6f74696669636174696f6e7342756e646c652e706e67)
===========================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#dabsquaredpushnotificationsbundle-)

A bundle to allow sending of push notifications to mobile devices. Currently supports Android (C2DM, GCM), Blackberry, Safari and iOS devices. The Base framework is imported from

Any contributions are welcome. The goal here is to provide an interface for push notifications with device registration and user device pairing just like FOSCommentBundle, but with very little code to write.

[![knpbundles.com](https://camo.githubusercontent.com/d06bafd47e1285dad3a9f945ed0e078c4d0c3ade797cc4e27223e101c3295c52/687474703a2f2f6b6e7062756e646c65732e636f6d2f444142537175617265642f44414253717561726564507573684e6f74696669636174696f6e7342756e646c652f6261646765)](http://knpbundles.com/DABSquared/DABSquaredPushNotificationsBundle)

Road Map
--------

[](#road-map)

See Issue #7

Documentation
-------------

[](#documentation)

The bulk of the documentation is stored in the `Resources/doc/index.md`file in this bundle:

[Read the Documentation](https://github.com/DABSquared/DABSquaredPushNotificationsBundle/blob/master/Resources/doc/index.md)

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

[](#installation)

All the installation instructions are located in [documentation](https://github.com/DABSquared/DABSquaredPushNotificationsBundle/blob/master/Resources/doc/index.md).

License
-------

[](#license)

This bundle is under the MIT license. See the complete license in the bundle:

```
Resources/meta/LICENSE

```

Admin Web Interface
-------------------

[](#admin-web-interface)

[![](Resources/doc/images/dashboard.png)](Resources/doc/images/dashboard.png)[![](Resources/doc/images/devices.png)](Resources/doc/images/devices.png)[![](Resources/doc/images/create_message.png)](Resources/doc/images/create_message.png)

Sending Messages
----------------

[](#sending-messages)

Send to a User:

```
use DABSquared\PushNotificationsBundle\Message\iOSMessage;

class PushDemoController extends Controller
{
    public function pushAction($aUser)
    {

        foreach($aUser->getDevices() as $device) {

            $message = new Message();
            $message->setMessage('Oh my! A push notification!');
            $message->setDevice($device);
            $this->container->get('dab_push_notifications')->send($message);

        }

        return new Response('Push notification send!');
    }
}
```

Send to a Device:

```
use DABSquared\PushNotificationsBundle\Message\iOSMessage;

class PushDemoController extends Controller
{
    public function pushAction($aDevice)
    {
        $message = new Message();
        $message->setMessage('Oh my! A push notification!');
        $message->setDevice($aDevice);

        $this->container->get('dab_push_notifications')->send($message);

        return new Response('Push notification send!');
    }
}
```

[![Bitdeli Badge](https://camo.githubusercontent.com/ece0711367213365749aa5abadadc735322580130e17fdb4b4fbd7036d891265/68747470733a2f2f64327765637a68766c38323376302e636c6f756466726f6e742e6e65742f444142537175617265642f64616273717561726564707573686e6f74696669636174696f6e7362756e646c652f7472656e642e706e67)](https://bitdeli.com/free "Bitdeli Badge")

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 64.6% 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 ~383 days

Recently: every ~454 days

Total

6

Last Release

2814d ago

PHP version history (2 changes)1.0PHP &gt;=5.3.2

1.1.2PHP &gt;=5.3.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/fdf19ed71b3ac0d2b567011714f901882551a3e8cfb7aba2e85af128ce60b66a?d=identicon)[bass\_rock](/maintainers/bass_rock)

---

Top Contributors

[![bassrock](https://avatars.githubusercontent.com/u/1010384?v=4)](https://github.com/bassrock "bassrock (146 commits)")[![richsage](https://avatars.githubusercontent.com/u/231551?v=4)](https://github.com/richsage "richsage (63 commits)")[![mac-cain13](https://avatars.githubusercontent.com/u/618233?v=4)](https://github.com/mac-cain13 "mac-cain13 (6 commits)")[![ZhukV](https://avatars.githubusercontent.com/u/2256109?v=4)](https://github.com/ZhukV "ZhukV (4 commits)")[![incrediblecube](https://avatars.githubusercontent.com/u/1372618?v=4)](https://github.com/incrediblecube "incrediblecube (4 commits)")[![mente](https://avatars.githubusercontent.com/u/391997?v=4)](https://github.com/mente "mente (1 commits)")[![toleillo](https://avatars.githubusercontent.com/u/730283?v=4)](https://github.com/toleillo "toleillo (1 commits)")[![bitdeli-chef](https://avatars.githubusercontent.com/u/3092978?v=4)](https://github.com/bitdeli-chef "bitdeli-chef (1 commits)")

---

Tags

bundlepushnotificationgcmandroidapnsc2dmiosblackberry

### Embed Badge

![Health badge](/badges/dabsquared-dabsquared-push-notifications-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/dabsquared-dabsquared-push-notifications-bundle/health.svg)](https://phpackages.com/packages/dabsquared-dabsquared-push-notifications-bundle)
```

###  Alternatives

[mcfedr/awspushbundle

A set of services to simplify using Aws to send push notifications

40378.6k1](/packages/mcfedr-awspushbundle)[sly/notification-pusher

Standalone PHP library for easy devices notifications push.

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

PHPackages © 2026

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