Skip to content

Provides fake SMS (as email during development) integration for Symfony Notifier.

License

Notifications You must be signed in to change notification settings

YieldStudio/symfony-fake-sms-notifier

Repository files navigation

Fake SMS Notifier

Latest Version GitHub Workflow Status Total Downloads

Provides Fake SMS (as email during development) integration for Symfony Notifier.

Symfony Version Package Version
~5.1.0 0.0.1
^5.2 ^1.0.0

Installation

composer require yieldstudio/symfony-fake-sms-notifier

Enable the Bundle

Add following line in bundles.php:

YieldStudio\Notifier\FakeSms\FakeSmsNotifierBundle::class => ['all' => true],

Enable the Fake SMS transport

Add the fakesms chatter in config/packages/notifier.yaml

framework:
    notifier:
        texter_transports:
            fakesms: '%env(FAKE_SMS_DSN)%'

DSN example

// .env file
FAKE_SMS_DSN=fakesms://email?to=TO&from=FROM

where:

  • TO is email who receive SMS during development
  • FROM is email who send SMS during development

Running the Tests

Install the Composer dependencies:

git clone https://github.com/YieldStudio/symfony-fake-sms-notifier.git
cd symfony-fake-sms-notifier
composer update

Then run the test suite:

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you've found a bug regarding security please mail contact@yieldstudio.fr instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

About

Provides fake SMS (as email during development) integration for Symfony Notifier.

Topics

Resources

License

Stars

Watchers

Forks

Languages