Closed dodaydream closed 2 years ago
@dodaydream actually enable_php
is used: https://github.com/LaravelDaily/laravel-invoices/blob/88c472680951acc57ccf179711add7d8dda36821/resources/views/templates/default.blade.php#L374
Otherwise there would be no pagination text on multipage invoices. By fixing one thing, and breaking another one. PR needs to be aware of that, and probably merge options instead of just removing them.
Ah, okay, sorry I wasn't aware of that usage. I opened an issue on dompdf, and they told me how to set an options.
I will also try to make a pr on laravel-dompdf to implement this.
no problem, all cool :)
Dompdf's
setOptions
will override the settings instead of merging them.For example, when specify the
chroot
option inconfig/dompdf.php
, after thesetOptions
was called, it will be reverted to the default vendor directory.It seems that the
enable_php
option was never used, so it could possibly be removed.