Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Symfony Fake Sms Notifier Laravel Package

yieldstudio/symfony-fake-sms-notifier

A Symfony notifier transport that fakes SMS delivery for testing and local development, letting you intercept outgoing messages without hitting real providers. Ideal for asserting notifications in functional tests and keeping dev environments safe.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Testing strategy for SMS/notification flows: Lets teams assert that transactional SMS (OTP, order updates, alerts) are dispatched without incurring provider costs or sending real messages. Directly supports decisions about how much to invest in automated end-to-end notification testing.
  • Build vs. buy for notification infrastructure: If you plan to abstract SMS behind Symfony Notifier (or a Laravel equivalent), this package cheaply de-risks local and CI testing. Reduces the temptation to build custom fakes per provider.
  • Provider-agnostic architecture: Encourages keeping SMS providers behind an interface, which is a roadmap enabler if you expect to switch vendors (Twilio, Vonage, etc.) or add multi-channel messaging later.
  • CI cost and reliability: Removes external network dependencies from test suites, improving pipeline determinism and reducing flaky builds.
  • Roadmap sequencing: Low adoption cost means it can be introduced alongside any feature that emits SMS (auth/OTP, delivery notifications) without a dedicated platform workstream.

When to Consider This Package

Adopt when:

  • You use Symfony Notifier (or a wrapper that does) for SMS and need a fake transport for tests/local development.
  • You want deterministic CI with no real SMS spend and no provider credentials in test environments.
  • Your notification layer is already abstracted enough that swapping in a fake transport is a configuration change, not a refactor.
  • You value a minimal, single-purpose dependency over rolling your own test double.

Look elsewhere when:

  • You are Laravel-native and use Notification::fake() / mail-and-SMS fakes built into the framework — native fakes likely cover the same ground and adding a Symfony bridge creates unnecessary coupling.
  • You need production SMS delivery — this is a fake/test-oriented notifier, not a transport for real traffic.
  • You need mature, heavily maintained tooling: this is a 1.x release with a very narrow scope and a recent PHP 8 compatibility patch; assess maintainer activity and bus factor before standardizing on it.
  • Your architecture doesn’t use Symfony Notifier at all; the integration cost exceeds the benefit.

How to Pitch It (Stakeholders)

For executives: This is a small, low-risk testing utility that lets us verify SMS features (such as one-time passcodes and customer alerts) in automated tests without sending real messages. It reduces test-run costs, removes a source of flaky builds, and keeps us vendor-neutral on SMS providers. Cost of adoption is minimal; the main caveat is that it’s an early-stage, narrowly scoped package, so we should treat it as a tactical test helper rather than core infrastructure.

For engineering: The 1.0.1 release adds PHP 8 support, clearing the main compatibility blocker for modern stacks. It provides a fake SMS notifier so notification dispatch can be asserted in unit/integration tests without network calls or provider credentials. Integrate it behind our existing notification abstraction; Laravel teams already using Notification::fake() should confirm they aren’t duplicating capability. Pin the version, monitor upstream activity, and keep a trivial fallback (a hand-rolled fake transport) in mind given the package’s size and early maturity.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
mehedimi/laravel-amp-mail
happones/laravel-vue-i18n-generator
jwerd/inertia-table
siberfx/flysystem-wasabi
hollyit/token-replace
ippanelcom/laravel-sdk
adachsoft/changelog-linter
adachsoft/collection
payerurl/telegrambot-crypto-payment-instant-payout
dskripchenko/laravel-hybrid-search
riorizkyrainey/lara-ced
mehedimi/static-vel
zharp/zharp
nonsapiens/bigquery-model-sync
lgu-bayambang-ict-office/lgu-laravel-development-standards
andydefer/laravel-support
se7enxweb/flysystem
lampwick/laravel
jeslage/statamic-emojis
micahdshackelford/rmap-laravel