Move Mail, PDF configuration to Database, standardize configurations

This commit is contained in:
Darko
2025-09-19 15:22:57 +02:00
parent 3da86965e1
commit c0def45040
24 changed files with 948 additions and 433 deletions

View File

@@ -2,13 +2,35 @@
return [
'driver' => env('PDF_DRIVER', 'gotenberg'),
/*
|--------------------------------------------------------------------------
| Default PDF Driver
|--------------------------------------------------------------------------
| Here you may specify which of the PDF drivers below you wish to use as
| your default driver for all PDF generation.
|
*/
'gotenberg' => [
'host' => env('GOTENBERG_HOST', 'http://pdf:3000'),
'papersize' => env('GOTENBERG_PAPERSIZE', '210mm 297mm'),
],
'driver' => env('PDF_DRIVER', 'dompdf'),
'dompdf' => [],
/*
|--------------------------------------------------------------------------
| PDF Connections
|--------------------------------------------------------------------------
|
| Here are each of the connections setup for your application. Example
| configuration has been included, but you may add as many connections as
| you would like.
|
*/
'connections' => [
'dompdf' => [],
'gotenberg' => [
'host' => env('GOTENBERG_HOST', 'http://pdf:3000'),
'papersize' => env('GOTENBERG_PAPERSIZE', '210mm 297mm'),
],
]
];