PDF Downloads within action?

I've been using DomPDF which has been fine, but when we use $pdf = PDF::loadHTML(); $pdf->download('filanem.pdf'); we end up with a page refresh, I can only seem to stream downloads of files by calling the file directly. What am I missing to allow actions to download the document without storing it?
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server