igdr / messanger-bundle
Messanger Bundle
Installs: 6 205
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 1
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=5.3.3
- symfony/swiftmailer-bundle: ~2.3
- symfony/symfony: >=2.4
This package is not auto-updated.
Last update: 2024-12-31 04:38:41 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