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

Laravel Database Mail Templates Laravel Package

spatie/laravel-database-mail-templates

Render Laravel mailables using email templates stored in your database. Map templates to mailable classes, use variables like {{ name }}, and optionally wrap HTML in a custom layout. Update subjects and content without redeploying.

View on GitHub
Deep Wiki
Context7
3.4.1
  • use longText columns by default (#34)
3.4.0
  • add support for Laravel 8.0
3.3.0
  • add support for Laravel 7.0
3.4.2
  • add support for PHP 8
3.2.0
  • add support for Laravel 6.0
3.1.1
  • allow html to be rendered in blade templates
3.1.0
  • Drop support for Laravel 5.7 and lower
  • Drop support for PHP 7.1 and lower
3.0.1
  • Add support for Laravel 5.8
3.0.0
  • Add support for text mails (#10)
  • Fix issues when using the package with Laravel Nova (#9)

The interface and table structure have been changed in this version. Please read the notes in UPGRADING.md

2.0.0
  • Use an interface for the MailTemplate model
1.0.1
  • fix MailTemplate::getVariables() for models with missing/incorrect mailable classes
1.0.0
  • initial release
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