Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

jenya's avatar
Level 2

Using Bootsrtap 4 in Dompdf

Hello Laracasts! I use barryvdh/laravel-dompdf v0.8.2 and Bootstrap v4.0.0 to display some data from my DB in Laravel 5.6 app. Is it possible to use such Bootstrap features as grids, form control classes and so on.. If not possible, please tell my what you do in these case, are there others pdf packages for it? Thanks!

0 likes
2 replies
jenya's avatar
Level 2

@martinbean , thank you for your answer! But is it possible to specify name of downloaded pdf file? And is it really possible to pass view , for example 'cards.blade' into downloadInvoice function as param?

Please or to participate in this conversation.