Skip to content

Conversation

@zairigimad
Copy link
Contributor

@zairigimad zairigimad commented Dec 17, 2025

Q A
Branch? 8.1
Bug fix? no
New feature? yes
Deprecations? no
Recipe symfony/recipes#1502
Issues Fix #62802
License MIT

This PR adds the support for Prelude Notification ( Prelude is a provider for OTP, Transactional SMS , and whatsapp messaging)

https://docs.prelude.so/introduction/welcome-to-prelude

@carsonbot carsonbot added this to the 8.1 milestone Dec 17, 2025
@OskarStark OskarStark changed the title [Notifier] Add Prelude Notifier for SMS [Notifier][Prelude] Add bridge Dec 17, 2025
Copy link
Contributor

@OskarStark OskarStark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Leas update the UnsupportedSchemeException + you can prepare a recipe in symfony/recipes repository, thanks

@zairigimad zairigimad force-pushed the feat/prelude-notifier-sms branch from ac3aed7 to 25486e5 Compare December 17, 2025 13:43
@zairigimad
Copy link
Contributor Author

UnsupportedSchemeException

I did fix the majority of comments, for UnsupportedSchemeException what should i update ?

I will add the recipe asap

@zairigimad zairigimad force-pushed the feat/prelude-notifier-sms branch 7 times, most recently from 73600f2 to 3232eb7 Compare December 17, 2025 15:26
@zairigimad zairigimad force-pushed the feat/prelude-notifier-sms branch from 3232eb7 to e439429 Compare December 17, 2025 15:34
@zairigimad
Copy link
Contributor Author

Leas update the UnsupportedSchemeException + you can prepare a recipe in symfony/recipes repository, thanks

recipe done

Copy link
Member

@nicolas-grekas nicolas-grekas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cool, thanks for submitting!

8.1
---

* Add bridge
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* Add bridge
* Add bridge

Comment on lines +24 to +28
"symfony/http-client": "^6.4|^7.0|^8.0",
"symfony/notifier": "^7.3|^8.0"
},
"require-dev": {
"symfony/http-client": "^6.4|^7.0|^8.0"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"symfony/http-client": "^6.4|^7.0|^8.0",
"symfony/notifier": "^7.3|^8.0"
},
"require-dev": {
"symfony/http-client": "^6.4|^7.0|^8.0"
"symfony/http-client": "^7.4|^8.0",
"symfony/notifier": "^7.4|^8.0"

<?xml version="1.0" encoding="UTF-8"?>

<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/9.3/phpunit.xsd"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

11.3 now - please borrow from other bridges from branch 8.1

private readonly ?string $scheduleAt = null,
private readonly ?string $callbackUrl = null,
private readonly ?string $correlationId = null,
private readonly ?string $preferredChannel = null,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have quite some inconsistency in the way the various bridges define their options class.
The proposed one is very unlike the majority (eg things started with an $options argument and setters/getter without set/get prefixes.)
It's a bit inconsistent already, but let's define how we want to improve consistency? /cc @OskarStark

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Notifier] Add Prelude Provider Bridge

4 participants