brunojunior / symfony-smsfaker
Fake SMS (as email or log during development) Notifier Bridge with notification content.
Installs: 213
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:symfony-notifier-bridge
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
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:
TO
is email who receive SMS during developmentFROM
is 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