2017 © Pedro Peláez
 

symfony-bundle notification-bundle

image

tmcycyit/notification-bundle

  • Friday, September 23, 2016
  • by tmcyc
  • Repository
  • 1 Watchers
  • 0 Stars
  • 38 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 12 Versions
  • 9 % Grown

The README.md

NotificationBundle

## Installation

Step1: Download NotificationBundle using composer

Add NotificationBundle in your composer.json:, (*1)

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

Now update composer., (*2)

Composer will install the bundle to your project's vendor/yit directory., (*3)

Step 2: Enable the bundle

Enable the bundle in the kernel:, (*4)

``` php <?php // app/AppKernel.php, (*5)

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


### Step 3: Configure the NotificationBundle Add the following configuration to your `config.yml` file ``` yaml # app/config/config.yml yit_notification: note_user: pathToYourUserBundle\Entity\User

Step 4: Import NotificationBundle routing files

``` yaml, (*7)

app/config/routing.yml

yit_notification: resource: "@YitNotificationBundle/Controller/" type: annotation prefix: / ```, (*8)

Step 5: Update your database schema

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

The Versions