PHPackages                             symfony/prelude-notifier - 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. symfony/prelude-notifier

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

symfony/prelude-notifier
========================

Symfony Prelude Notifier Bridge

v8.1.0(1w ago)22MITPHPPHP &gt;=8.4.1

Since Apr 30Pushed 1w agoCompare

[ Source](https://github.com/symfony/prelude-notifier)[ Packagist](https://packagist.org/packages/symfony/prelude-notifier)[ Fund](https://symfony.com/sponsor)[ GitHub Sponsors](https://github.com/fabpot)[ RSS](/packages/symfony-prelude-notifier/feed)WikiDiscussions 8.1 Synced 1w ago

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

Prelude Notifier
================

[](#prelude-notifier)

The `prelude-notifier` package provides a [Prelude](https://prelude.dev/) bridge for Symfony Notifier.

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

[](#installation)

```
composer require symfony/prelude-notifier
```

Configuration
-------------

[](#configuration)

1. Register the bundle in your application (if not using Symfony Flex).
2. Configure the DSN in your `.env` file:

    ```
    # API Key is required
    # Sender ID is optional (can be set in options or DSN)
    PRELUDE_DSN=prelude://YOUR_API_KEY@default?sender=YOUR_SENDER_ID
    ```

Usage
-----

[](#usage)

The Prelude Notify API **requires** a `template_id`. You must use `PreludeOptions` to provide it.

```
use Symfony\Component\Notifier\Message\SmsMessage;
use Symfony\Component\Notifier\Bridge\Prelude\PreludeOptions;

$options = (new PreludeOptions())
    ->templateId('template_01k8xxxxxxxxxxxxx') // Required
    ->variables([
        'order_id' => '12345',
        'amount' => '$49.99',
    ])
    // Optional parameters
    // ->from('MySenderID')
    // ->locale('fr-FR')
    // ->callbackUrl('https://example.com/webhook')
    // ->preferredChannel('whatsapp')
;

$message = (new SmsMessage('+33612345678', 'Subject (ignored)'))
    ->options($options);

$notifier->send($message);
```

### Options

[](#options)

- `templateId` (string, required): The template identifier.
- `variables` (array): Key-value pairs for template variables.
- `from` (string): The Sender ID.
- `locale` (string): BCP-47 formatted locale string.
- `expiresAt` (string): Message expiration date (RFC3339).
- `scheduleAt` (string): Schedule delivery time (RFC3339).
- `callbackUrl` (string): URL for delivery events.
- `correlationId` (string): User-defined identifier.
- `preferredChannel` (string): 'sms' or 'whatsapp'.

Sponsor
-------

[](#sponsor)

This package is looking for a [backer](https://symfony.com/backers).

Help Symfony by [sponsoring](https://symfony.com/sponsor) its development!

Resources
---------

[](#resources)

- [Contributing](https://symfony.com/doc/current/contributing/index.html)
- [Report issues](https://github.com/symfony/symfony/issues) and [send Pull Requests](https://github.com/symfony/symfony/pulls)in the [main Symfony repository](https://github.com/symfony/symfony)

###  Health Score

43

—

FairBetter than 89% of packages

Maintenance98

Actively maintained with recent releases

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.7% 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 ~9 days

Total

4

Last Release

11d ago

PHP version history (2 changes)v8.1.0-BETA1PHP &gt;=8.4

8.1.x-devPHP &gt;=8.4.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/47313?v=4)[Fabien Potencier](/maintainers/fabpot)[@fabpot](https://github.com/fabpot)

---

Top Contributors

[![nicolas-grekas](https://avatars.githubusercontent.com/u/243674?v=4)](https://github.com/nicolas-grekas "nicolas-grekas (2 commits)")[![zairigimad](https://avatars.githubusercontent.com/u/9056839?v=4)](https://github.com/zairigimad "zairigimad (1 commits)")

---

Tags

componentnotifierphppreludesmssymfonysymfony-componentsymfonynotifiersmsPrelude

### Embed Badge

![Health badge](/badges/symfony-prelude-notifier/health.svg)

```
[![Health](https://phpackages.com/badges/symfony-prelude-notifier/health.svg)](https://phpackages.com/packages/symfony-prelude-notifier)
```

###  Alternatives

[symfony/fake-sms-notifier

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

27826.9k1](/packages/symfony-fake-sms-notifier)[symfony/twilio-notifier

Symfony Twilio Notifier Bridge

131.2M2](/packages/symfony-twilio-notifier)[symfony/free-mobile-notifier

Symfony Free Mobile Notifier Bridge

2071.8k](/packages/symfony-free-mobile-notifier)

PHPackages © 2026

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