igdr/messanger-bundle

There is no license information available for the latest version (dev-master) of this package.

Messanger Bundle

Installs: 6 205

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 1

Open Issues: 0

Type:symfony-bundle

dev-master 2016-01-08 13:56 UTC

This package is not auto-updated.

Last update: 2024-04-23 01:19:28 UTC


README

Installation

Add the bundle to your composer.json:

"igdr/messanger-bundle" : "dev-master"

and run:

php composer.phar update

Then add the MessangerBundle to your application kernel:

// app/IgdrKernel.php
public function registerBundles()
{
    return array(
        // ...
        new Igdr\Bundle\MessangerBundle\IgdrMessangerBundle(),
        new Symfony\Bundle\SwiftmailerBundle\SwiftmailerBundle(),
        // ...
    );
}

Add parameters to app/config/parameters.ini

mailer_transport: smtp
mailer_host: 127.0.0.1
mailer_user: null
mailer_password: null

Add swiftmailer configuration to app/config/config.yml

swiftmailer:
    transport: "%mailer_transport%"
    host:      "%mailer_host%"
    username:  "%mailer_user%"
    password:  "%mailer_password%"
    
igdr_messanger:
    email: 
        from: text@example.com
        from_name: example