PHPackages                             andreas-glaser/notify-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Mail &amp; Notifications](/categories/mail)
4. /
5. andreas-glaser/notify-bundle

AbandonedArchivedSymfony-bundle[Mail &amp; Notifications](/categories/mail)

andreas-glaser/notify-bundle
============================

A symfony bundle, making it easy to send email, sms and other notifications

1527PHP

Since May 25Pushed 8y ago1 watchersCompare

[ Source](https://github.com/andreas-glaser/notify-bundle)[ Packagist](https://packagist.org/packages/andreas-glaser/notify-bundle)[ RSS](/packages/andreas-glaser-notify-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

NotifyBundle
============

[](#notifybundle)

A symfony bundle, making it easy to send email, sms and other notifications

Requirements
------------

[](#requirements)

- PHP 7.x
- Symfony 2.8.x LTS

Installation
------------

[](#installation)

```
composer require andreas-glaser/notify-bundle dev-master
```

Usage
-----

[](#usage)

### Define Emails

[](#define-emails)

```
# app/config/config.yml
andreas_glaser_notify:
  enabled: true
  channels:
    email:
      from_name: "Default Name"
      from_email: "my-default-from-email@email.com"

      emails:

        example_email:
          subject: Welcome :name"
          template_content: "AppBundle:Email:exampleEmail.html.twig"
```

Run following console command for a full list of config options.

```
./app/console config:dump-reference andreas_glaser_notify
```

### Send Email

[](#send-email)

```
