dev-master
9999999-devSymfony 2 notification bundle.
MIT
The Requires
by Enercido Alcantara
notificationbundle
Wallogit.com
2017 © Pedro Peláez
Symfony 2 notification bundle.
This bundle provide capability to register and send notifications throw multiple applications., (*1)
Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:, (*2)
$ composer require nti/notification-bundle
This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation., (*3)
Then, enable the bundle by adding it to the list of registered bundles
in the app/AppKernel.php file of your project:, (*4)
class AppKernel extends Kernel
{
public function registerBundles()
{
$bundles = array(
new NTI\NotificationBundle\NotificationBundle(),
);
}
}
Fill the bundle configuration in the config.yml file., (*5)
yaml
nti_notification:
user_destination_get_method: getEmail
user_authentication_roles: [ROLE_USER], (*6)
The bundle use your User class entity as a notification destination so you can easily set your security authentication role and unique property get method that you want to use as destination identifier., (*7)
#### Documentation:, (*8)
Symfony 2 notification bundle.
MIT
notificationbundle