feat: mail templates package

This commit is contained in:
2022-06-08 14:41:57 +02:00
commit 655ffce923
13 changed files with 1287 additions and 0 deletions

23
config/mail_templates.php Normal file
View File

@@ -0,0 +1,23 @@
<?php
return [
'map' => [
'sendinblue' => [
//'template-name' => 'sendinblue-template-id',
],
//...
],
'sender' => [
'name' => env('MAIL_TEMPLATES_FROM_NAME', env('MAIL_FROM_NAME', 'Example')),
'email' => env('MAIL_TEMPLATES_FROM_ADDRESS', env('MAIL_FROM_ADDRESS', 'noreply@example.com')),
],
'provider' => env('MAIL_TEMPLATES_PROVIDER', 'logs'),
'api_key' => env('MAIL_TEMPLATES_API_KEY', null),
'api_url' => env('MAIL_TEMPLATES_API_URL', null),
'redirect' => env('MAIL_TEMPLATES_REDIRECT', null),
];