Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Symfony Bandwidth Notifier Bridge

License

NotificationsYou must be signed in to change notification settings

symfony/bandwidth-notifier

ProvidesBandwidth integration for Symfony Notifier.

DSN example

BANDWIDTH_DSN=bandwidth://USERNAME:PASSWORD@default?from=FROM&account_id=ACCOUNT_ID&application_id=APPLICATION_ID&priority=PRIORITY

where:

  • USERNAME is your Bandwidth username
  • PASSWORD is your Bandwidth password
  • FROM is your sender
  • ACCOUNT_ID is your account ID
  • APPLICATION_ID is your application ID
  • PRIORITY is your priority (optional)

Adding Options to a Message

With a Bandwidth Message, you can use theBandwidthOptions class to addmessage options.

useSymfony\Component\Notifier\Message\SmsMessage;useSymfony\Component\Notifier\Bridge\Bandwidth\BandwidthOptions;$sms =newSmsMessage('+1411111111','My message');$options = (newBandwidthOptions())    ->media(['foo'])    ->tag('tag')    ->accountId('account_id')    ->applicationId('application_id')    ->expiration('test_expiration')    ->priority('default')// ...    ;// Add the custom options to the sms message and send the message$sms->options($options);$texter->send($sms);

Resources

About

Symfony Bandwidth Notifier Bridge

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors8

Languages


[8]ページ先頭

©2009-2025 Movatter.jp