brunojunior / symfony-smsfaker
Fake SMS (as email or log during development) Notifier Bridge with notification content.
Package info
github.com/BrunoJunior/symfony-smsfaker
Type:symfony-notifier-bridge
pkg:composer/brunojunior/symfony-smsfaker
v1.0.1
2024-01-27 23:19 UTC
Requires
- php: >=8.2
- symfony/http-client: ^6.4|^7.0
- symfony/notifier: ^6.4|^7.0
Requires (Dev)
- psr/log: ^1|^2|^3
- symfony/mailer: ^6.4|^7.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Provides Fake SMS (as email or log during development) integration for Symfony Notifier. This project add the content of the notification in the send e-mail (or in the log). The symfony original notifier only send the subject …
DSN example for email
SMS_FAKER_DSN=smsfaker+email://default?to=TO&from=FROM
where:
TOis email who receive SMS during developmentFROMis email who send SMS during development
WARNING : TO and FROM has to be urlencoded (ex: @ => %40)
To use a custom mailer transport:
SMS_FAKER_DSN=smsfaker+email://mailchimp?to=TO&from=FROM
DSN example for logger
SMS_FAKER_DSN=smsfaker+logger://default