[WIP] Setup of skeleton

This commit is contained in:
Ludovic CANDELLIER
2020-03-25 00:08:27 +01:00
parent baf8e13c25
commit 36267139a1
377 changed files with 18248 additions and 26 deletions

74
config/mailpreview.php Normal file
View File

@@ -0,0 +1,74 @@
<?php
return [
/**
* --------------------------------------------------------------------------
* Generated previews path
* --------------------------------------------------------------------------
*
* This option determines where all the generated email previews will be
* stored for the application. Typically, this is within the storage
* directory. However, you may change the location as you desire.
*
*/
'path' => storage_path('email-previews'),
/**
* --------------------------------------------------------------------------
* Time in seconds to keep old previews
* --------------------------------------------------------------------------
*
* This option determines how long (in seconds) the mail transformer should
* keep the generated preview files before deleting them. By default it
* set to 60 seconds, but you can change this to whatever you desire.
*
*/
'maximum_lifetime' => 60,
/**
* --------------------------------------------------------------------------
* An option to enable showing a HTML link on mail sent
* --------------------------------------------------------------------------
*
* This option determines if you would like to show a HTML link at the top
* left corner of your screen every time and email is sent from your
* system, the link will point the browser to the preview file.
*
*/
'show_link_to_preview' => true,
/**
* The timeout for the popup
*
* This is a time in miliseconds
* if you use 0 or a negative number it will never be removed.
*/
'popup_timeout' => 8000,
/**
* --------------------------------------------------------------------------
* Middleware group(s)
* --------------------------------------------------------------------------
*
* Most likely you don't have to touch this value, in this array all
* middleware groups that you want to use this package with should
* be included.
*/
'middleware_groups' => ['web'],
/**
* --------------------------------------------------------------------------
* Set middleware for the mail preview route
* --------------------------------------------------------------------------
*
* This option allows for setting middlewares for the route that shows a
* preview to the mail that was just sent.
*/
'middleware' => [
],
];