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 Mailable Bundle

Symfony Mailable Bundle Laravel Package

halloverden/symfony-mailable-bundle

Symfony Mailable Bundle brings Laravel-style mailable classes to Symfony Mailer. Define emails as PHP classes with fluent methods for recipients, subject, and templated content, keeping mail logic organized, testable, and reusable across Symfony apps.

View on GitHub
Deep Wiki
Context7

At a glance

Frequently asked questions about Symfony Mailable Bundle
Is halloverden/symfony-mailable-bundle a Laravel package or a Symfony bundle?
It is a Symfony bundle, not a Laravel package. It integrates through Symfony's kernel, dependency injection container, compiler passes, and YAML configuration under config/packages. None of those integration points exist in a Laravel application, so Laravel developers should treat it as unrelated to their framework unless they deliberately standardize on Symfony Mailer.
Can I use this Symfony mailable bundle in a Laravel application?
Not through its intended integration path. Laravel has no bundle loader and no compiler pass pipeline, so the bundle class and its service wiring cannot be registered the way the package expects. Any use would require stripping the bundle and manually rebuilding services in a Laravel service provider, which only works if a container-agnostic core exists inside the package.
How does it compare to Laravel's built-in Illuminate\Mail\Mailable?
It offers a similar class-based, fluent API for building emails, but Laravel's native Mailable already provides Blade and Markdown rendering, queued delivery, Notification channels, and Mail::fake() assertions. Adopting this bundle in Laravel would introduce a second, parallel mail abstraction alongside the framework-native one. For Laravel apps the built-in Mailable is the safer default.
How do I install and configure the Symfony Mailable Bundle?
In Symfony, you install it with Composer, enable the bundle in bundles.php, and configure it under config/packages. The package assumes Symfony Flex, autowiring, tagged services, and YAML configuration trees. Laravel developers should note that none of that maps to config/*.php arrays or Laravel's service container.
Does it work with Laravel's Mail::fake() and queued mailables?
No. Mail::fake() assertions and Laravel's queued mailables are tied to Illuminate\Mail, so a Symfony-based mailable would bypass them. You would also hit a queue integration gap because Laravel queues jobs while Symfony uses Messenger. That blast radius is one of the largest technical concerns in the evaluation.
What PHP and Symfony version constraints does the package declare?
The evaluation did not confirm declared PHP or Symfony component constraints and found no evidence of version-constraint hygiene. Read composer.json before relying on it and check whether its constraints intersect with the symfony/mailer and Mime versions Laravel pulls in transitively. Laravel's transport already sits on Symfony Mailer components, but that is transport-level sharing, not abstraction-level compatibility.
Does the package have tests, CI, and real community adoption?
There is no community validation: zero stars, zero dependents, and an overall score of 0.1. The evaluation found no signal on test coverage, CI, or production use. The MIT license is clean, but the bus factor is the real issue with a single-maintainer package that has no adopters.
What is the technical risk of depending on a zero-star single-maintainer package?
High. A single-maintainer package with no dependents becomes an unmaintained internal dependency the moment you rely on it. You would own the adapter layer and likely a permanent internal fork. Opportunity scores without adoption evidence are speculative and should not offset that risk.
How would I integrate the mailable concept into Laravel without adopting the bundle?
Run a spike: clone the source and determine whether a framework-agnostic core exists. If it does, extract that core and consume it as a plain Composer library, bypassing the bundle entirely. If it does not, rebuild the concept natively as a Laravel Mailable subclass or a small internal package.
What alternatives exist for organizing mail logic in Laravel?
Laravel's Mailable, Markdown mailables, and Notification channels already cover most class-based mail organization needs. If a concrete capability gap exists, name it precisely before evaluating third-party packages. Otherwise the correct decision is not to adopt, and a small internal package built on Illuminate\Mail keeps Blade, queues, and Mail::fake() intact.
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.
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
cgv/localized-resource