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 |
composer require yieldstudio/symfony-fake-sms-notifier
Add following line in bundles.php
:
YieldStudio\Notifier\FakeSms\FakeSmsNotifierBundle::class => ['all' => true],
Add the fakesms
chatter in config/packages/notifier.yaml
framework:
notifier:
texter_transports:
fakesms: '%env(FAKE_SMS_DSN)%'
// .env file
FAKE_SMS_DSN=fakesms://email?to=TO&from=FROM
where:
TO
is email who receive SMS during developmentFROM
is email who send SMS during development
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
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
If you've found a bug regarding security please mail contact@yieldstudio.fr instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.