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 React Email Laravel Package

mperonnet/symfony-react-email

Symfony integration for React Email that lets you render React-based email templates inside Symfony and send them via Symfony Mailer, bridging component-driven email design with Symfony services and configuration.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Transactional email overhaul (build vs. buy): Informs whether to keep paying an ESP for hosted template editing (SendGrid/Postmark/Resend) or move templates in-repo. This package is the "build" side of that decision for PHP backends — it lets email templates live in the same repo, review flow, and release cadence as the application.
  • Design-system consolidation: If the product team already builds UI in React, React Email lets the same components and design tokens drive marketing site, in-app UI, and email. Roadmap impact: one design system instead of three.
  • Team topology / ownership: Moves email templates from backend (Twig/Blade) owners to frontend/design engineers, who get typed props, component reuse, and a local preview server. Useful input when deciding where "email" sits in your org chart.
  • Framework standardization: A critical finding — this is a Symfony bundle, not a Laravel package. Adopting it is only rational for a Symfony shop. For a Laravel roadmap it forces a concrete decision: port the glue, precompile templates at build time, or stay with Blade/MJML. That decision is worth making explicitly rather than by default.
  • Compliance and quality initiatives: Supports accessibility/dark-mode/localization workstreams for email, since templates become testable code (unit tests on rendered HTML) rather than hand-edited HTML in an ESP.
  • Concrete use cases: receipts, password resets, onboarding drips, and notification digests — high-value, low-volume templates where correctness and brand consistency matter more than raw send throughput.

When to Consider This Package

Consider it when:

  • You are on Symfony 6/7 (its native target) and can accept the coupling.
  • Node is already available in CI and in your deploy/runtime story, since React Email rendering is JS-side.
  • Designers or frontend engineers own email and want React, not Twig/Blade.
  • You have a small, bounded set of templates worth investing in, and you are comfortable vendoring the code — MIT license plus a tiny surface area makes fork-and-own realistic.
  • You want a fast spike (days, not weeks) to validate the React Email approach before committing.

Look elsewhere when:

  • You are a Laravel team. There is no Laravel integration here; you would be writing the adapter. Budget for that explicitly or skip.
  • You cannot run Node in production and have no build-time pre-render step — this becomes an architecture project, not a package adoption.
  • You need community support, documentation depth, or long-term maintenance guarantees. Three stars and zero dependents means essentially no ecosystem, no Stack Overflow corpus, and a single-maintainer bus factor.
  • Your ESP already provides adequate template management and your pain is not actually template authoring.
  • You need strict send-path latency SLOs at high volume.

Reasonable alternatives: precompile React Email to static HTML in CI and ship plain templates (removes the PHP/Node coupling entirely), or use MJML/Twig components, which have mature PHP support.

How to Pitch It (Stakeholders)

For executives (one paragraph): This is a small open-source bridge that lets a PHP backend render email templates written as React components — the same way we build our web UI. The strategic appeal is one design system and one set of components across product surfaces, with email templates tested and versioned like code instead of hand-edited in a vendor's dashboard. The caveats are proportionality: the project has three GitHub stars, zero downstream dependents, and a single maintainer, so it is a reference implementation rather than a supported dependency. Because it is MIT-licensed and small, we can vendor it at negligible cost and own it. Recommendation: fund a short, timeboxed spike against two or three real templates; do not commit to it as infrastructure until the spike proves the workflow beats our current email pipeline. Note that our stack is Laravel — this package targets Symfony, so the spike must include the cost of an adapter or a build-time precompile approach.

For engineering: The value is typed, componentized, testable email markup with a local preview loop. The cost is a Node toolchain in CI/CD and, on Laravel, glue code we own. Treat it as a pattern to adopt, not a library to depend on — read the source, vendor what's useful, and keep the render step at build time so the send path stays pure PHP.

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.
uni-method/symfony-lib
tacticmedia/scim-server-bundle
neika-ai/symfony-bundle
mattleads/agent-publishing-bundle
glavweb/framework-bundle
glavweb/extra-bundle
glavweb/api-bundle
glavweb/admin-bundle
adachsoft/api-version-bundle
elsayed85/laravel-api-exceptions
ouhssini/laravel-demo-mode
daworks/ncloud-outbound-mailer-driver
gp247/cms
ignibyte/aic-gates
nexa-merchant/blog
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
shitoudev/permissionmanager