Download the PHP package statikbe/laravel-nova-mail-editor without Composer
On this page you can find all versions of the php package statikbe/laravel-nova-mail-editor. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package laravel-nova-mail-editor
This package is abandoned and will no longer be maintained. Feel free to fork it and maintain your own version.
Laravel Nova Mail Editor (Abandoned)
The Laravel Nova Mail Editor allows you to easily edit the content of your transactional mails.
This package provides a Nova tool for the Laravel Mail Template Engine. Check the documentation of the Laravel Mail Template Engine for more info.
Features
- Add and edit mail templates in Nova
- Translate mail templates
- Add variable data to mails
For the entire list of features take a look at the documentation of the Laravel Mail Template Engine.
Installation
The package can be installed through Composer.
Next enable the tool in Nova.
Go to app/Providers/NovaServiceProvider.php
and add the Mail Editor to the tools.
Configuration
Supported locales
There are two ways to change the supported locales.
Option 1
Publish the config file with the command below and configure it with your supported locales.
E.g.
Option 2
If your application already has a config that declares your locales then you are able to set the supported locales in
any service provider. Create a new one or use the app/Providers/AppServiceProvider.php
and set the supported locales
as an array in the boot function as follows:
(Option 3)
A third non official option is to use a new config key in your app.php
config. The key you can use is supported_locales
, as in our own config. We provide this method to have a global config key of supported locales. Our translatable packages will try to use this key.
Mail template config
More information about the mail template config can be found in the base package: Laravel Mail Template Engine.
License
The MIT License (MIT). Please see license file for more information.
All versions of laravel-nova-mail-editor with dependencies
laravel/nova Version ^3.0
laravel/framework Version ~9.0
statikbe/laravel-mail-template-engine Version ^1.1