PHPackages                             wrep/notificato-symfony - 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. wrep/notificato-symfony

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

wrep/notificato-symfony
=======================

Takes care of push notifications in your Symfony2 &amp; Symfony3 projects.

1.0.3(8y ago)74.5k4MITPHPPHP &gt;=5.3.3

Since Mar 5Pushed 8y ago2 watchersCompare

[ Source](https://github.com/rickpastoor/notificato-symfony)[ Packagist](https://packagist.org/packages/wrep/notificato-symfony)[ Docs](https://github.com/wrep/notificato-symfony)[ RSS](/packages/wrep-notificato-symfony/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (2)Dependencies (2)Versions (11)Used By (0)

Notificato for Symfony2 &amp; Symfony3
======================================

[](#notificato-for-symfony2--symfony3)

[Notificato](https://github.com/wrep/notificato) takes care of push notifications in your Symfony2 &amp; Symfony3 projects.

> *Italian:* **notificato** è: participio passato *English:* **notified**

What is Notificato?
-------------------

[](#what-is-notificato)

Notificato makes you send push messages from PHP projects, this repository is a Symfony2 &amp; Symfony3 bundle to easily integrate into Symfony. Want to know more about Notificato? Please check out the [Notificate repository](https://github.com/mac-cain13/notificato) for more information.

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

[](#installation)

### 1. Add Composer dependency

[](#1-add-composer-dependency)

Installation with [Composer](http://getcomposer.org) is recommended. Run the require command to add Notificato to your project:

`composer require wrep/notificato-symfony`

### 2. Include the bundle in your Kernel

[](#2-include-the-bundle-in-your-kernel)

Add `NotificatoBundle` to `app/AppKernel.php`:

```
public function registerBundles()
{
    $bundles = array(
        ...
        new Wrep\Bundle\NotificatoBundle\NotificatoBundle(),
        ...
    );
}
```

### 3. Configuration of the default certificate

[](#3-configuration-of-the-default-certificate)

Add the following configuration options to your `app/config.yml`:

```
notificato:
    apns:
        certificate:
            pem: /path/to/pem/certificate.pem       # Required if you want to use a default certificate
            passphrase: the-passphrase-of-the-pem   # Required if you want to use a default certificate
            validate: true                          # Optional, default true, set to false if certificate validation fails
            environment: sandbox                    # Optional, autodetect by default, set to production/sandbox if certificate validation fails
```

The given certificate will be used as default certificate. It's completely optional to set a default certificate, but recommended if you only push to one App.

Getting started
---------------

[](#getting-started)

Once installed you can start using Notificato quite easily from any `ContainerAware`-environment. Lets say you want to send a pushmessage from a controller:

```
class PushController extends Controller
{
    public function indexAction()
    {
        // First we get a Notificato instance
        $notificato = $this->get('notificato');

        // Now let us get a fresh message from Notificato
        //  This message will be send to device with pushtoken 'fffff...'
        //  it will automaticly be associated with the default certificate
        $message = $notificato->createMessage('ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff');

        // Let's set App icon badge with this push to 1
        $message->setBadge(1);

        // The message is ready, let's send it!
        //  Be aware that this method is blocking and on failure Notificato will retry a few times
        $messageEnvelope = $notificato->send($message);

        // The returned envelope contains usefull information about how many retries where needed and if sending succeeded
        echo $messageEnvelope->getFinalStatusDescription();

        // Of course you should return a nice Response here!
    }
}
```

Use `$this->get('notificato');` to get a Notificato object that is already set up with the default certificate from the config. From there everything is the same as using the normal Notificato library, so check out the [docs](https://github.com/mac-cain13/notificato/blob/master/doc/Readme.md) and [API description](http://mac-cain13.github.io/notificato/master/) over there for more tips and tricks.

Note that there are more services available to get deeper into the Notificare structure, take a look at the services.xml if you're interested.

Contribute
----------

[](#contribute)

We'll love contributions, read the Notificato [Contribute.md](https://github.com/mac-cain13/notificato/blob/master/Contribute.md) for some more info on what you can do and stuff that you should know if you want to help!

Please note that issues and feature requests specific to Notificato for Symfony2 &amp; Symfony3 are tracked in the [GitHub issue tracker](https://github.com/rickpastoor/notificato-symfony/issues) with this repository. Issues and feature requests for Noticare itself can be submitted at [the issue tracker at that repository](https://github.com/wrep/notificato/issues).

License &amp; Credits
---------------------

[](#license--credits)

Notificato for Symfony2 &amp; Symfony3 is released under the [MIT License](License) by [Rick Pastoor](https://github.com/rickpastoor) &amp; [Mathijs Kadijk](https://github.com/mac-cain13), so feel free to use it in commercial and non-commercial projects.

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 60% 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 ~244 days

Recently: every ~425 days

Total

8

Last Release

3150d ago

Major Versions

0.5.0 → 1.0.02013-03-21

PHP version history (2 changes)0.1.0PHP &gt;=5.3.1

0.2.0PHP &gt;=5.3.3

### Community

Maintainers

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

---

Top Contributors

[![mac-cain13](https://avatars.githubusercontent.com/u/618233?v=4)](https://github.com/mac-cain13 "mac-cain13 (24 commits)")[![rickpastoor](https://avatars.githubusercontent.com/u/149958?v=4)](https://github.com/rickpastoor "rickpastoor (14 commits)")[![rbaarsma](https://avatars.githubusercontent.com/u/1061560?v=4)](https://github.com/rbaarsma "rbaarsma (1 commits)")[![tiois](https://avatars.githubusercontent.com/u/878737?v=4)](https://github.com/tiois "tiois (1 commits)")

---

Tags

pushSymfony2notificationsapnsiospush notificationspushnotificationsaps

### Embed Badge

![Health badge](/badges/wrep-notificato-symfony/health.svg)

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

###  Alternatives

[mcfedr/awspushbundle

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

40382.7k1](/packages/mcfedr-awspushbundle)[bentools/webpush-bundle

Send push notifications through Web Push Protocol to your Symfony users.

72285.7k](/packages/bentools-webpush-bundle)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1175.2k](/packages/rcsofttech-audit-trail-bundle)

PHPackages © 2026

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