yit/notification-bundle

This package is abandoned and no longer maintained. The author suggests using the Removed package instead.

Installs: 383

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 13

Forks: 0

Open Issues: 0

Type:symfony-bundle

2.0.2 2015-08-07 08:21 UTC

This package is not auto-updated.

Last update: 2017-07-17 13:49:22 UTC


README

Installation

Step1: Download NotificationBundle using composer

Add NotificationBundle in your composer.json:

{
    "require": {
        "yit/notification-bundle": "dev-master",
    }
}

Now update composer.

Composer will install the bundle to your project's vendor/yit directory.

Step 2: Enable the bundle

Enable the bundle in the kernel:

<?php
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new Yit\NotificationBundle\YitNotificationBundle(),
    );
}

Step 3: Configure the NotificationBundle

Add the following configuration to your config.yml file

# app/config/config.yml
yit_notification:
    note_user: pathToYourUserBundle\Entity\User

###Step 4: Import NotificationBundle routing files

# app/config/routing.yml
yit_notification:
    resource: "@YitNotificationBundle/Controller/"
    type:     annotation
    prefix:   /

Step 5: Update your database schema

Now that the bundle is configured, the last thing you need to do is update your database schema.