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

v1.0.1 2024-01-27 23:19 UTC

This package is auto-updated.

Last update: 2024-10-28 01:09:52 UTC


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 development
  • FROM 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

Resources