Weave Code
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
Swiftmailerdbbundle

Swiftmailerdbbundle Laravel Package

appventus/swiftmailerdbbundle

View on GitHub
Deep Wiki
Context7

Database spooling for SwiftMailer with sms support

Frequently asked questions about Swiftmailerdbbundle
Can I use this bundle directly in Laravel without Symfony2?
No, this bundle is designed for Symfony2 and requires its components (SwiftMailerBundle, Doctrine). Laravel’s native Mail facade uses Symfony Mailer or PHPMailer, so you’d need to create a compatibility layer or abandon SwiftMailer for Laravel’s built-in queue system.
Does this bundle support Laravel’s Eloquent ORM?
No, it requires Doctrine ORM. You’d need to map Doctrine entities to Eloquent models manually or use a hybrid setup, which adds complexity. Laravel’s queue:table driver may be a simpler alternative.
How do I configure SMS spooling with this bundle?
The bundle claims SMS support, but documentation is lacking. You’d likely need to implement custom logic (e.g., Twilio API integration) and extend the bundle’s entity system, which isn’t straightforward. Test thoroughly before relying on it.
What Laravel versions does this bundle support?
None directly—it’s for Symfony2. For Laravel, you’d need to integrate Symfony2 components (SwiftMailer v4.2+, Doctrine) as a service, which may conflict with Laravel’s native stack. Avoid if targeting Laravel 8+.
Is this bundle actively maintained?
No, the last release was in 2017. SwiftMailer v4.2+ is EOL, and the repo is archived. Use at your own risk; security updates or BC breaks from newer Symfony/SwiftMailer versions won’t be patched.
Can I migrate from Laravel’s queue:table to this bundle?
Not easily. The bundle requires a custom Doctrine entity and SwiftMailer setup, while Laravel’s queue:table uses Eloquent. You’d need to rewrite mail logic or build a translation layer, which may not be worth the effort.
What’s the performance impact of database spooling vs. Laravel’s queue:work?
Database spooling adds latency compared to Laravel’s in-memory queues. This bundle lacks batch processing or retry mechanisms, which are critical for production. Test under load before committing.
Are there Laravel alternatives for database-backed mail queues?
Yes. Consider Laravel’s built-in `queue:table` driver or packages like `spatie/laravel-queue-scheduler`. These integrate natively with Eloquent, support retries, and are actively maintained.
How do I set up the required Doctrine entity in Laravel?
Create a Doctrine entity implementing `EmailInterface` with a `status` field. Then map it to an Eloquent model, but bidirectional sync (Doctrine ↔ Eloquent) requires custom logic. This adds complexity to your Laravel app.
Will this bundle work with Laravel’s Mail facade or SwiftMailerBridge?
No. The bundle expects Symfony2’s SwiftMailerBundle. To use it in Laravel, you’d need to install `symfony/swiftmailer-bridge` and `swiftmailer/swiftmailer`, then override Laravel’s Mail facade to delegate to Symfony’s SwiftMailer instance.
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.
comsave/common
alecsammon/php-raml-parser
chrome-php/wrench
lendable/composer-license-checker
typhoon/reflection
mesilov/moneyphp-percentage
mike42/gfx-php
bookdown/themes
aura/view
aura/html
aura/cli
povils/phpmnd
nayjest/manipulator
omnipay/tests
psr-mock/http-message-implementation
psr-mock/http-factory-implementation
psr-mock/http-client-implementation
voku/email-check
voku/urlify
rtheunissen/guzzle-log-middleware