inspiredminds/symfony-mailer-command-bundle
A Symfony bundle that adds console commands for testing and debugging Symfony Mailer setups. Send test emails straight from the CLI to verify transports, DSNs, and delivery without writing throwaway code—handy for local development and post-deployment checks.
mailer:send) over Symfony Mailer so engineers and ops can fire a test or one-off email from the CLI without writing throwaway scripts. Treat it as internal tooling that reduces friction in debugging and smoke-testing transactional email.mailer:test command. The remaining differentiator is narrow but real: this bundle sends via the mailer service, while mailer:test sends via mailer.transports. In practice that means the bundle exercises the same path as application mail — mailer events/listeners, a decorated or custom mailer, Messenger routing — whereas the native command bypasses them and talks to transports directly. If your smoke test needs to prove that application mail path works end-to-end, the bundle adds a sliver of fidelity; if you just need "did SMTP accept a message," the native command is equivalent and free.Adopt only if all of the following hold:
mailer service path rather than mailer.transports — i.e., your test must traverse mailer events/listeners, a decorated mailer, or Messenger routing. If you only need to confirm the transport accepts mail, use Symfony's native mailer:test instead; on newer Symfony the bundle is redundant.Look elsewhere (or write ~30 lines yourself) when:
mailer:test and do not need the mailer-service fidelity described above. The native command covers the job at zero dependency, zero license risk, and full vendor support.For executives: This is a small developer-convenience utility, not a product investment. It lets engineers send a test email from the command line, which slightly speeds up debugging and post-deploy checks. The new release mainly widens Symfony version compatibility, and its own release notes concede that modern Symfony now includes an equivalent built-in command — so the package is moving toward redundancy. It carries no licensing cost but is GPL-3.0 with essentially no community adoption (2 stars, 0 dependents). Recommendation: do not add as a dependency; use Symfony's native command, or have engineering implement an equivalent internal command (a few hours) if we need the application-mailer path specifically. Either route avoids copyleft and maintenance risk.
For engineering: The bundle provides mailer:send over Symfony Mailer. Release 1.0.2 relaxes the Symfony version constraint so it installs on current Symfony — but the maintainer notes that newer Symfony has mailer:test. The only functional edge left is path fidelity: this bundle sends through the mailer service, so it exercises mailer events, decorators, and Messenger routing, while mailer:test goes straight to mailer.transports. If our smoke test must validate the application mail path (custom listeners, Messenger async routing), the bundle is justifiable; otherwise the native command wins on dependency count, license, and support. It remains Symfony-only and irrelevant to our Laravel services. Given GPL-3.0, zero dependents, and a single maintainer, if we do adopt it, confine it to internal/dev tooling, vendor or fork it with legal review, pin the version, and re-evaluate on the next Symfony minor — the widened constraint means less-tested version combinations and a shrinking reason to exist.
How can I help you explore Laravel packages today?