PHPackages                             notify-eu/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. notify-eu/notify-bundle

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

notify-eu/notify-bundle
=======================

Notify bundle for Symfony

v1.0(6y ago)03MITPHPPHP &gt;=7.1CI failing

Since Feb 12Pushed 6y ago3 watchersCompare

[ Source](https://github.com/notify-eu/notify-bundle)[ Packagist](https://packagist.org/packages/notify-eu/notify-bundle)[ Docs](https://github.com/notify-eu/notify-bundle)[ RSS](/packages/notify-eu-notify-bundle/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (1)Dependencies (4)Versions (3)Used By (0)

Notify notifications for Symfony 4
==================================

[](#notify-notifications-for-symfony-4)

[![Latest Version on Packagist](https://camo.githubusercontent.com/9fd93aa7731e2a756da7dee3afcf6b382797f7b51c03c6d7592f7f0a97e9c414/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e6f746966792d65752f6e6f746966792d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/notify-eu/notify-bundle)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/fcaf29d7b8941073c9e9daca9b0f5454d31c47bafc28ef0b7303237488f8b46e/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6e6f746966792d65752f6e6f746966792d62756e646c652f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/notify-eu/notify-bundle)[![StyleCI](https://camo.githubusercontent.com/b463405d0bf29264400b65c5e7baddcd39f230e020161e271bb8d6ac0823a818/68747470733a2f2f7374796c6563692e696f2f7265706f732f3233393535353534322f736869656c64)](https://styleci.io/repos/239555542)[![Total Downloads](https://camo.githubusercontent.com/a1ae6a6e4a8fd390efc422a2c550bbb7a924dd68412cbf9ceaa07f3bd32a2ea8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e6f746966792d65752f6e6f746966792d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/notify-eu/notify-bundle)

This package makes it easy to send notifications using [Notify](https://notify.eu) with Symfony 4

Contents
--------

[](#contents)

- [Installation](#installation)
    - [Setting up your Notify account](#setting-up-your-notify-account)
- [Usage](#usage)
    - [Available Message methods](#all-available-methods)
- [Changelog](#changelog)
- [Testing](#testing)
- [Security](#security)
- [Contributing](#contributing)
- [Credits](#credits)
- [License](#license)

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

[](#installation)

You can install the package via composer:

```
$ composer require notify-eu/notify-bundle
```

### Setting up your Notify account

[](#setting-up-your-notify-account)

Add your Notify credentials to your `.env`:

```
// .env
...
NOTIFY_CLIENT_ID=
NOTIFY_SECRET=
NOTIFY_TRANSPORT=
NOTIFY_URL=
],
...
```

`NOTIFY_URL` is not mandatory. Can be used when you want to overwrite the endpoint Notify is calling. (f.e. different url for Staging/production)

Usage
-----

[](#usage)

1. Load the 'notifyService' inside your services/controllers
2. Create a NotifyMessage object with the required parameters
3. Send the message

```
