laravel-dompdf
laravel-dompdf copied to clipboard
Fix config key for allowed protocols
Look at here
@angeljqv good to know. I guess this can be merged to allow compatible with older versions or the composer constraint should be bumped up once dompdf releases a new version with the change.
Rest of the config is also snake_case
@barryvdh understood, but just to be clear (and in case anyone else runs into this), since the options are passed through directly to Dompdf, the allowed_protocols key will have no effect when using any version of this library prior to v3.
Support for snake case was added in this PR: https://github.com/dompdf/dompdf/pull/3327 and then released in v3 of dompdf/dompdf.
oh hmm, that's odd indeed.