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

Mailer Bundle Laravel Package

grizzlylab/mailer-bundle

GrizzlyLab MailerBundle is a Symfony bundle that integrates mailer services into PHP applications, offering straightforward configuration for sending transactional email and managing mail delivery from your Symfony project. It helps simplify mailer setup and keep email configuration centralized.

View on GitHub
Deep Wiki
Context7

Mailer bundle for Symfony 2/3

Frequently asked questions about Mailer Bundle
Does grizzlylab/mailer-bundle work with Laravel?
No. It is a Symfony bundle registered through AppKernel::registerBundles() and wired via Resources/config/services.yml into Symfony's DI container, with no Laravel service provider, facade, or publishable config. Loading it into Laravel would require a shim that costs more than simply reimplementing the few useful lines. Treat any Laravel adoption plan as a platform mismatch to correct before estimating.
How do I install grizzlylab/mailer-bundle in a Laravel application?
You cannot install it as a Laravel package in the normal sense, because its Composer type is symfony-bundle and it expects Symfony's kernel and DI wiring. Laravel 9 and later already ship symfony/mailer, so the practical path is to use Laravel's Mail system and Mailables. If a specific transport turns out to be genuinely unique, port only that transport class rather than the bundle.
What does grizzlylab/mailer-bundle actually do?
It is a thin configuration layer over Symfony's mailer that lets you define transports, default sender addresses, and Twig templates for HTML and plain-text bodies in one place. It also handles attachments and inline images and exposes a service-based send API. By scope and era it is roughly equivalent to fifty lines of first-party configuration in a modern framework.
How do I configure transports and sender addresses with grizzlylab/mailer-bundle?
In Symfony you would declare transport credentials, sender addresses, and Twig layouts in YAML and let the bundle's services read them from the container. In a Laravel application the same settings live in config/mail.php and .env keys, with message content defined in Mailable classes instead of shared Twig layouts. Keeping mail configuration centralized is a real goal, but Laravel already solves it natively.
Is grizzlylab/mailer-bundle still maintained?
There is no evidence of maintainer activity: it has around 3 stars, 0 dependents, and a low package score near 0.015. Zero dependents means no downstream usage to learn from, no CVE response, and nobody to escalate to. Because mail code handles SMTP credentials and provider keys, an unpatched dependency is a supply-chain risk.
Which Symfony and PHP versions does grizzlylab/mailer-bundle support?
It targets the Symfony 2 and 3 era, and both Symfony 2.8 (end of life November 2018) and 3.4 (end of life November 2021) receive no security patches. Its legacy PHP constraints conflict with the PHP 8.1+ and Symfony 6+ requirements of any current Laravel release. Check the exact composer.json pins for PHP, Symfony, and Swiftmailer before making any decision.
Which Laravel versions can use grizzlylab/mailer-bundle?
None natively, because the bundle predates and does not target Laravel's container or mail API. Laravel 9 and later consume symfony/mailer transports directly, which is why Laravel's own Mail component covers the same ground. If you ever port a single transport class, pin it explicitly to your PHP version and your symfony/mailer version.
How should I test email delivery if I adopt grizzlylab/mailer-bundle?
The bundle advertises test-friendly delivery controls and redirection, but those controls are designed around Symfony's container. In Laravel you would use Mail::fake() with assertSent and assertQueued, and run a shadow-send to one low-volume stream before trusting any ported transport. Test a ported transport against a fake TransportInterface rather than exercising the bundle's YAML and DI scaffolding.
What is the best Laravel alternative to grizzlylab/mailer-bundle?
Laravel's built-in Mail component with Mailables, Notifications, Markdown templates, queue integration, and multiple transports covers everything this bundle offers and more. Pair it with a maintained email provider, since the real build-versus-buy decision sits at the provider, not at a wrapper library. If a specific transport is missing, register it through Mail::extend() or a custom TransportFactory.
Is grizzlylab/mailer-bundle safe for production use?
The technical risk is high: the code is effectively abandoned, has no patch pipeline, and would put SMTP credentials and provider keys behind an unmaintained dependency. Both Symfony branches it supports are end of life, and Laravel already provides equivalent mail, notification, and queuing capabilities. Standardize on Laravel Mail with a maintained transport and record the decision so it is not revisited next quarter.
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.
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons