mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-04-21 12:14:05 +00:00
Move Mail, PDF configuration to Database, standardize configurations
This commit is contained in:
@@ -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'),
|
||||
],
|
||||
]
|
||||
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user