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

ActiveSymfony-bundle

lzaztec/notification-bundle
===========================

This Bundle integrates Dklab Realplexor comet server (or other) functionality into a Symfony2 project.

1309PHP

Since Apr 14Pushed 12y ago1 watchersCompare

[ Source](https://github.com/LZAztec/LZAztecNotificationBundle)[ Packagist](https://packagist.org/packages/lzaztec/notification-bundle)[ RSS](/packages/lzaztec-notification-bundle/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

LZAztecNotificationBundle
=========================

[](#lzaztecnotificationbundle)

This bundle provides intergration with a [Dklab Realplexor](https://github.com/DmitryKoterov/dklab_realplexor) (or other) comet server

### Installation

[](#installation)

#### For Symfony &gt;2.1:

[](#for-symfony-21)

add to your `composer.json` file:

```
    /// composer.json
    "require": {
        // ...
        "lzaztec/notification-bundle": "dev-master"
    },
    "repositories": [
        // ...
        {
            "type":"package",
            "package":{
                "name":"dklab/realplexor",
                "version": "1.41",
                "source":{
                    "type":"git",
                    "url":"https://github.com/DmitryKoterov/dklab_realplexor",
                    "reference":"master"
                },
                "autoload":{
                    "classmap":["api/php/Dklab/"]
                }
            }
        }
    ]
```

and run `composer update lzaztec/notification-bundle`

#### For Symfony 2.0.x:

[](#for-symfony-20x)

add to your application `deps` file:

```
[DklabRealplexor]
    git=https://github.com/DmitryKoterov/dklab_realplexor.git
    target=/Dklab/Reaplexor

[LZAztecNotificationBundle]
    git=https://github.com/LZAztec/LZAztecNotificationBundle.git
    target=/bundles/LZAztec/NotificationBundle
```

add to your apllication `AppKernel.php` file:

```
    // app/AppKernel.php

    public function registerBundles()
    {
        return array(
            // ...
            new LZAztec\NotificationBundle\LZAztecNotificationBundle(),
            // ...
        );
    }
```

add to your apllication `autoload.php` file:

```
    // app/autoload.php

    $loader->registerNamespaces(array(
        // ...
        'LZAztec'                 => __DIR__.'/../vendor/bundles',
    ));

    $loader->registerPrefixes(array(
        // ...
        // Load realplexor api
        'Dklab_'         => __DIR__.'/../vendor/Dklab/Reaplexor/api/php',
    ));
```

### Configuration

[](#configuration)

```
    lz_aztec_notification:
        realplexor_ns: demo_               # Realplexor namespace to use (allowed alphanumeric characters and the underscore character)
        js_api_host: notify.localhost      # JS API host to listen for notifications
```

### Usage

[](#usage)

Function `init_notification()` takes only one parameter, which will contain an instance of notification controller class. To initialize scripts put code `{{ init_notification('varName') }}` **AFTER** jquery initialization, next you need to subscribe channel and start listen it.

```

    {{ init_notification('varName') }}

        $(document).ready(function(){
            varName.subscribeChannel('ChannelName');
            varName.startListen();
        });

```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

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/473a04da5beb871a9dc01ffb8ce08034abc0ccfe425149d17dc885b3c5c2eabf?d=identicon)[LZAztec](/maintainers/LZAztec)

---

Top Contributors

[![LZAztec](https://avatars.githubusercontent.com/u/4040317?v=4)](https://github.com/LZAztec "LZAztec (3 commits)")

### Embed Badge

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

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

PHPackages © 2026

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