yieldstudio / symfony-fake-sms-notifier
Fake SMS (as email during development) integration for Symfony Notifier.
Installs: 376
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:symfony-bundle
pkg:composer/yieldstudio/symfony-fake-sms-notifier
Requires
- php: >=7.4.0
 - symfony/event-dispatcher-contracts: ^2
 - symfony/http-client: ^4.3|^5.0
 - symfony/mailer: ^5.2
 - symfony/notifier: ^5.2
 
Requires (Dev)
- phpunit/phpunit: ^6.5 || ^7 || ^8
 - squizlabs/php_codesniffer: 3.*
 
This package is auto-updated.
Last update: 2025-10-29 02:57:07 UTC
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.