flowcode / notificationbundle
This is a bundle for notifications for symfony
Installs: 1 413
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 5
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- mailgun/mailgun-php: ~1.7.2
- slot/mandrill-bundle: 1.*
This package is not auto-updated.
Last update: 2024-10-26 18:17:29 UTC
README
This is a bundle for notifications for symfony
To use mandrill we use Slot/MandrillBundle.
ref: https://github.com/slot/MandrillBundle add this:
<?php
// app/AppKernel.php
public function registerBundles()
{
$bundles = array(
// ...
new Slot\MandrillBundle\SlotMandrillBundle(),
);
}
To yor config.yml
slot_mandrill:
api_key: "%mandrill_api_key%"
disable_delivery: true # useful for dev/test environment. Default value is 'false'
# debug: passed to \Mandrill causing it to output curl requests. Useful to see output
# from CLI script. Default value is 'false'
debug: true
default:
sender: info@example.com
sender_name: "%mandrill_api_key%" # Optionally define a sender name (from name)
subaccount: Project # Optionally define a subaccount to use
proxy:
use: true # when you are behing a proxy. Default value is 'false'
host: example.com
port: 80
user: john
password: doe123