PHPackages                             magik/notification-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. magik/notification-bundle

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

magik/notification-bundle
=========================

A simple Symfony 4 bundle for user notifications

3.1.1(6y ago)01281MITPHP

Since Jul 14Pushed 6y agoCompare

[ Source](https://github.com/Magikan/notification-bundle)[ Packagist](https://packagist.org/packages/magik/notification-bundle)[ RSS](/packages/magik-notification-bundle/feed)WikiDiscussions master Synced 5d ago

READMEChangelog (1)Dependencies (3)Versions (11)Used By (0)

mgilet/notification-bundle
==========================

[](#mgiletnotification-bundle)

An easy yet powerful notification bundle for Symfony

[![Latest Stable Version](https://camo.githubusercontent.com/318ed652b62c4f02d6e7d8ed8e7d15d75e748a9c59b4de70908babf28a4a8cf5/68747470733a2f2f706f7365722e707567782e6f72672f6d67696c65742f6e6f74696669636174696f6e2d62756e646c652f762f737461626c65)](https://packagist.org/packages/mgilet/notification-bundle)[![Latest Unstable Version](https://camo.githubusercontent.com/3bd0a7ea74953dc0a7b827fc83982a904ef541e6283b905ca0436ac0e1a3ba9f/68747470733a2f2f706f7365722e707567782e6f72672f6d67696c65742f6e6f74696669636174696f6e2d62756e646c652f762f756e737461626c65)](https://packagist.org/packages/mgilet/notification-bundle)[![Total Downloads](https://camo.githubusercontent.com/789c6793ff8649cd1afa4e552564b101e647a203a607b46c6f99678014d87eba/68747470733a2f2f706f7365722e707567782e6f72672f6d67696c65742f6e6f74696669636174696f6e2d62756e646c652f646f776e6c6f616473)](https://packagist.org/packages/mgilet/notification-bundle)[![License](https://camo.githubusercontent.com/debf9420cd7607f7191332b4065c70e9aa8d2b32bca12dca70bd07ab6a932d4e/68747470733a2f2f706f7365722e707567782e6f72672f6d67696c65742f6e6f74696669636174696f6e2d62756e646c652f6c6963656e7365)](https://packagist.org/packages/mgilet/notification-bundle)

[![SensioLabsInsight](https://camo.githubusercontent.com/80ab5eb9b7fdbb2075e7390abda9d02e63bdf372da66202efd966a4d42751f40/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f36393761626263632d346231352d343138612d613663392d6536363237383766656434382f6269672e706e67)](https://insight.sensiolabs.com/projects/697abbcc-4b15-418a-a6c9-e662787fed48)

[![mgilet/notificationBundle](https://camo.githubusercontent.com/5a2e5209fc479c47e893b284dbf0d74b32f54c23057ac26278a720b14078ac60/687474703a2f2f692e696d6775722e636f6d2f30374f634636632e676966)](https://camo.githubusercontent.com/5a2e5209fc479c47e893b284dbf0d74b32f54c23057ac26278a720b14078ac60/687474703a2f2f692e696d6775722e636f6d2f30374f634636632e676966)

Create and manage notifications in an efficient way.

Symfony support :

- 2.7.x (bundle version 2.x)
- 2.8.x (bundle version 2.x)
- 3.x
- 4.x

NOW SUPPORTS SYMFONY FLEX !
---------------------------

[](#now-supports-symfony-flex-)

Version 3.0 out now.

Features
--------

[](#features)

- Easy setup
- Easy to use
- Powerful notification management
- Simple Twig render methods
- Fully customizable
- Multiple notifiables entities
- No bloated dependencies (little requirements)

Notice: Only Doctrine ORM is supported for now.

Installation &amp; usage
------------------------

[](#installation--usage)

This bundle is available on [packagist](https://packagist.org/packages/mgilet/notification-bundle).

Add notification-bundle to your project :

```
$ composer require mgilet/notification-bundle
```

**See [documentation](Resources/doc/index.rst) for next steps**

### Basic usage

[](#basic-usage)

```
class MyController extends Controller
{

    ...

    public function sendNotification(Request $request)
    {
      $manager = $this->get('mgilet.notification');
      $notif = $manager->createNotification('Hello world!');
      $notif->setMessage('This a notification.');
      $notif->setLink('https://symfony.com/');
      // or the one-line method :
      // $manager->createNotification('Notification subject', 'Some random text', 'https://google.fr/');

      // you can add a notification to a list of entities
      // the third parameter `$flush` allows you to directly flush the entities
      $manager->addNotification(array($this->getUser()), $notif, true);

      ...
    }
```

Translations
------------

[](#translations)

For now this bundle is only translated to de, en, es, fa, fr, it, nl, pt\_BR.

Help me improve this by submitting your translations.

Community
---------

[](#community)

You can help make this bundle better by contributing (every pull request will be considered) or submitting an issue.

Enjoy and share if you like it.

Licence
-------

[](#licence)

MIT

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 83.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 ~171 days

Recently: every ~218 days

Total

9

Last Release

2223d ago

Major Versions

1.0.0-alpha-1 → 2.02017-10-17

2.0.3 → 3.0.02018-06-28

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2965875?v=4)[magikan](/maintainers/magikan)[@Magikan](https://github.com/Magikan)

---

Top Contributors

[![maximilienGilet](https://avatars.githubusercontent.com/u/10434870?v=4)](https://github.com/maximilienGilet "maximilienGilet (107 commits)")[![mchahed99](https://avatars.githubusercontent.com/u/34678981?v=4)](https://github.com/mchahed99 "mchahed99 (4 commits)")[![KhanMaytok](https://avatars.githubusercontent.com/u/5711547?v=4)](https://github.com/KhanMaytok "KhanMaytok (3 commits)")[![emulienfou](https://avatars.githubusercontent.com/u/84061?v=4)](https://github.com/emulienfou "emulienfou (3 commits)")[![easternmayurt](https://avatars.githubusercontent.com/u/39591253?v=4)](https://github.com/easternmayurt "easternmayurt (2 commits)")[![LeandroLuccerini](https://avatars.githubusercontent.com/u/7492724?v=4)](https://github.com/LeandroLuccerini "LeandroLuccerini (2 commits)")[![4ssil](https://avatars.githubusercontent.com/u/2683599?v=4)](https://github.com/4ssil "4ssil (1 commits)")[![kklecho](https://avatars.githubusercontent.com/u/3323741?v=4)](https://github.com/kklecho "kklecho (1 commits)")[![FeMaffezzolli](https://avatars.githubusercontent.com/u/26548010?v=4)](https://github.com/FeMaffezzolli "FeMaffezzolli (1 commits)")[![marcelglaeser](https://avatars.githubusercontent.com/u/6400771?v=4)](https://github.com/marcelglaeser "marcelglaeser (1 commits)")[![matthieumota](https://avatars.githubusercontent.com/u/2427947?v=4)](https://github.com/matthieumota "matthieumota (1 commits)")[![eeemarv](https://avatars.githubusercontent.com/u/3982071?v=4)](https://github.com/eeemarv "eeemarv (1 commits)")[![Jeroenkeesom](https://avatars.githubusercontent.com/u/15309861?v=4)](https://github.com/Jeroenkeesom "Jeroenkeesom (1 commits)")

---

Tags

symfony notification bundle simple

### Embed Badge

![Health badge](/badges/magik-notification-bundle/health.svg)

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

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k16.7M310](/packages/easycorp-easyadmin-bundle)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[mgilet/notification-bundle

A simple Symfony 3 bundle for user notifications

111142.0k](/packages/mgilet-notification-bundle)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)

PHPackages © 2026

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