PHPackages                             lemonmind/pimcore-message-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. lemonmind/pimcore-message-bundle

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

lemonmind/pimcore-message-bundle
================================

Pimcore Message Bundle - send notifications to Discord, Google Chat, Slack, Telegram, E-mail or SMS from Pimcore admin panel

2.0.1(2y ago)8361GPL-3.0-or-laterPHP

Since Aug 2Pushed 2y agoCompare

[ Source](https://github.com/LemonMind/pimcore-message-bundle)[ Packagist](https://packagist.org/packages/lemonmind/pimcore-message-bundle)[ RSS](/packages/lemonmind-pimcore-message-bundle/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (7)Dependencies (12)Versions (13)Used By (0)

Send notifications to Discord, Google Chat, Slack and more from Pimcore
=======================================================================

[](#send-notifications-to-discord-google-chat-slack-and-more-from-pimcore)

It's Pimcore Bundle to send notifications to Discord, Google Chat, Slack, Telegram, Email or SMS from admin panel inside Pimcore

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

[](#installation)

First of all you need to add notifier to your config/config.yaml file otherwise bundle won't install properly

```
framework:
    notifier:
        chatter_transports:
            slack: '%env(SLACK_DSN)%'
            googlechat: '%env(GOOGLECHAT_DSN)%'
            discord: '%env(DISCORD_DSN)%'
            telegram: '%env(TELEGRAM_DSN)%'
        texter_transports:
            smsapi: '%env(SMSAPI_DSN)%'

```

Then you can install and enable the bundle

```
composer require lemonmind/pimcore-message-bundle

```

```
// config/bundles.php

LemonmindMessageBundle::class => ['all' => true]
```

And finally in your config/config.yaml file you need to add

```
lemonmind_message:
    allowed_chatters: googlechat,discord,slack,telegram,email,sms
    classes:
        Pimcore\Model\DataObject\YOUR_CLASS:
            fields_to_send: series,Carclass,country,price,bodystyle,manufacturer
            email_to_send: some@email.com
            sms_to: PHONE_NUMBER

```

where:

- `YOUR_CLASS:` is your class from which notifications will be sent
- `fields_to_send` is your class fields separated with coma without space
- `email_to_send` is e-mail you want to send notification to
- `sms_to` is the phone number to which you want to send the notification

It is possible to add multiple classes from which you can send notifications
You need to specify which chatters should be available using `allowed chatters` option

#### Example

[](#example)

```
lemonmind_message:
    allowed_chatters: googlechat,discord,slack,telegram,email,sms
    classes:
        Pimcore\Model\DataObject\Car:
            fields_to_send: series,Carclass,country,price,bodystyle,manufacturer
            email_to_send: some@email.com
            sms_to: PHONE_NUMBER
        Pimcore\Model\DataObject\Manufacturer:
            fields_to_send: name

```

After correct installation button for sending the notification should be visible only in your class that you defined earlier [![](docs/img_home.png)](docs/img_home.png)

When you click at the button a modal should pop up where you can select where you want to send notification and add additional information to the message.

[![](docs/img_modal.png)](docs/img_modal.png)

---

Asynchronous messages
---------------------

[](#asynchronous-messages)

MessageBundle can send asynchronous messages via [Symfony Messenger Component](https://symfony.com/doc/current/messenger.html). To do that in your config/config.yaml file you need to add lines below

```
framework:
    messenger:
        transports:
            async: "%env(MESSENGER_TRANSPORT_DSN)%"
        routing:
            'LemonMind\MessageBundle\Message\CreateNotification': async

```

Also in your .env file you need to add

```
MESSENGER_TRANSPORT_DSN=doctrine://default

```

where:

- `MESSENGER_TRANSPORT_DSN` is your messenger transport dsn. It can be redis, RabbitMQ or database

Finally, you need to start consuming messages. To do this in your php container, run this command

```
php bin/console messenger:consume async

```

It is not recommended to keep this process for a long time. It's better to use [supervisord](https://symfony.com/doc/current/messenger.html#supervisor-configuration).

---

Discord
-------

[](#discord)

To integrate this bundle with [Discord](https://discord.com/) you need to add dsn in your .env file

```
DISCORD_DSN=discord://TOKEN@default?webhook_id=ID

```

where:

- `TOKEN` is your secure token of the webhook (returned for Incoming Webhooks)
- `ID` is the id of the webhook

### Sample message

[](#sample-message)

[![](docs/img_discord_message.png)](docs/img_discord_message.png)

---

Google Chat
-----------

[](#google-chat)

To integrate this bundle with [Google Chat](https://workspace.google.com/intl/pl/products/chat/) you need to add dsn in your .env file

```
GOOGLE_CHAT_DSN=googlechat://ACCESS_KEY:ACCESS_TOKEN@default/SPACE?thread_key=THREAD_KEY

```

where:

- `ACCESS_KEY` is your Google Chat webhook access key
- `ACCESS_TOKEN` is your Google Chat webhook access token
- `SPACE` is the Google Chat space
- `THREAD_KEY` is the Google Chat message thread to group messages into a single thread (optional)

### Sample message

[](#sample-message-1)

[![](docs/img_googlechat_message.png)](docs/img_googlechat_message.png)

---

Slack
-----

[](#slack)

To integrate this bundle with [Slack](https://slack.com/) you need to add dsn in your .env file

```
SLACK_DSN=slack://TOKEN@default?channel=CHANNEL

```

where:

- `TOKEN` is your Bot User OAuth Access Token (they begin with xoxb-)
- `CHANNEL` is a channel, private group, or IM channel to send message to, it can be an encoded ID, or a name.

### Sample message

[](#sample-message-2)

[![](docs/img_slack_message.png)](docs/img_slack_message.png)

---

Telegram
--------

[](#telegram)

To integrate this bundle with [Telegram](https://telegram.org) you need to add dsn in your .env file

```
TELEGRAM_DSN=telegram://TOKEN@default?channel=CHAT_ID

```

where:

- `TOKEN` is your Telegram token
- `CHAT_ID` is your Telegram group chat id (starts with -)

You need to contact [BotFather](https://web.telegram.org/z/#93372553) on Telegram to start creating your bot. Then add the bot to the group where you want it to send messages

### Sample message

[](#sample-message-3)

[![](docs/img_telegram_message.png)](docs/img_telegram_message.png)

---

E-mail
------

[](#e-mail)

To integrate this package with e-mail, you need to prepare as with regular Pimcore e-mail.

### Sample message

[](#sample-message-4)

[![](docs/img_email_message.png)](docs/img_email_message.png)

---

SMSAPI
------

[](#smsapi)

To integrate this package with [SMSAPI](https://www.smsapi.pl/), you need to add dsn in your .env file

```
SMSAPI_DSN=smsapi://TOKEN@default?from=FROM&fast=FAST&test=TEST

```

where:

- `TOKEN` is your API Token (OAuth)
- `FROM` is the sender name
- `FAST` setting this parameter to 1 (default 0) will result in sending message with the highest priority which ensures the quickest possible time of delivery. Attention! Fast messages cost more than normal messages.
- `TEST` setting this parameter to 1 (default 0) will result in sending message in test mode (message is validated, but not sent).

You can see your account info at

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 92.2% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~48 days

Recently: every ~70 days

Total

7

Last Release

1089d ago

Major Versions

1.2.1 → 2.0.02023-05-17

### Community

Maintainers

![](https://www.gravatar.com/avatar/378b1bfc8c96e9ab1f2514574a282692ea6e19912f6bb0ced755725fb16bc910?d=identicon)[msoroka](/maintainers/msoroka)

![](https://www.gravatar.com/avatar/f417761bb309534ebe79ce882addf67be466c55a2eb4b2cfa7252b07d29eb16c?d=identicon)[pfilipkowskilemon](/maintainers/pfilipkowskilemon)

---

Top Contributors

[![pfilipkowskilemon](https://avatars.githubusercontent.com/u/110021871?v=4)](https://github.com/pfilipkowskilemon "pfilipkowskilemon (71 commits)")[![srychert](https://avatars.githubusercontent.com/u/83415215?v=4)](https://github.com/srychert "srychert (6 commits)")

###  Code Quality

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/lemonmind-pimcore-message-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/lemonmind-pimcore-message-bundle/health.svg)](https://phpackages.com/packages/lemonmind-pimcore-message-bundle)
```

###  Alternatives

[symfony/slack-notifier

Symfony Slack Notifier Bridge

426.1M11](/packages/symfony-slack-notifier)[symfony/fake-sms-notifier

Fake SMS (as email or log during development) Notifier Bridge.

27754.2k1](/packages/symfony-fake-sms-notifier)[symfony/discord-notifier

Symfony Discord Notifier Bridge

37387.7k2](/packages/symfony-discord-notifier)[symfony/twilio-notifier

Symfony Twilio Notifier Bridge

131.2M2](/packages/symfony-twilio-notifier)[dachcom-digital/emailizr

Pimcore Emailizr - create html emails the right way!

17370.2k4](/packages/dachcom-digital-emailizr)[symfony/fake-chat-notifier

Fake Chat (as email or log during development) Notifier Bridge.

10260.2k4](/packages/symfony-fake-chat-notifier)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
