yieldstudio/symfony-fake-sms-notifier
Composer 安装命令:
composer require yieldstudio/symfony-fake-sms-notifier
包简介
Fake SMS (as email during development) integration for Symfony Notifier.
README 文档
README
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:
TOis email who receive SMS during developmentFROMis 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.
统计信息
- 总下载量: 376
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-12-10