* Configuration should be altered via the `.env` file or environment variables.
* Do not edit this file unless you're happy to maintain any changes yourself.
*/
+
$dompdfPaperSizeMap = [
'a4' => 'a4',
'letter' => 'letter',
'chroot' => realpath(public_path()),
/**
- * Protocol whitelist
+ * Protocol whitelist.
*
* Protocols and PHP wrappers allowed in URIs, and the validation rules
* that determine if a resouce may be loaded. Full support is not guaranteed
* @var array
*/
'allowed_protocols' => [
- "file://" => ["rules" => []],
- "http://" => ["rules" => []],
- "https://" => ["rules" => []]
+ 'file://' => ['rules' => []],
+ 'http://' => ['rules' => []],
+ 'https://' => ['rules' => []],
],
/**
*
* @var string
*/
- 'default_paper_orientation' => "portrait",
+ 'default_paper_orientation' => 'portrait',
/**
* The default font family.
'enable_css_float' => true,
/**
- * Use the HTML5 Lib parser
+ * Use the HTML5 Lib parser.
*
* @deprecated This feature is now always on in dompdf 2.x
+ *
* @var bool
*/
- "enable_html5_parser" => true,
+ 'enable_html5_parser' => true,
],
];