man such a saver i used dompdf in my recent project but fails to hand it using b4, but after watching your video man i start using b3 and its working
@SingenDrake816 жыл бұрын
Perfect timing, I was just about to use this package for the 1st time, and appreciate this overview.
@drehimself6 жыл бұрын
Awesome, hope it works out for you!
@Rasecz4 жыл бұрын
I'm getting "Non-static method Barryvdh\DomPDF\PDF::loadView() should not be called statically" And when I try ti instantiate a new PDF(), it requires a bunch of parameters that I have no idea how to add... can't find updated docs anywhere
@FX200YOU4 жыл бұрын
You have to make some additional configurations (since that Andre didn't have to do this in the video I think is something of the new versions) adding the correspondent service provider and alias on your app.php file. Take a look at step 2 of this tutorial, works for me: appdividend.com/2019/09/13/laravel-6-generate-pdf-from-view-example-tutorial-from-scratch/#Step_1_Download_the_laravel-dompdf_package
@nickywan1234 жыл бұрын
@@FX200YOU I managed to get it to work but however if I use table rows with bootstrap in my invoice.blade.php then it will throw error dompdf exception frame not found in cellmap. Is there a fix for this?
@Rex-lp1dl Жыл бұрын
Thanks. Very Precise
@alvinara234 жыл бұрын
Image not found or type unknown when i called image
@codecombination93373 жыл бұрын
Hello, My Image is not being included in pdf in pdf: image Image not found or type unknown
@nlmtgws69463 жыл бұрын
As soon as I hosted my image on a live server, it worked for me. i.e: example.com/image.png
@codecombination93373 жыл бұрын
@@nlmtgws6946 Solution : Use setOptions(['isRemotedEnabled' => TRUE]) with loadview or in next step
@angelalisomona70882 жыл бұрын
Thank you for the tutorial. Clear and Really easy to follow. How can I put the outside of the body HTML body? The saved pdf displays the saved button as well.
@javierquiroga67745 жыл бұрын
Can I resize the page for tickets for example?
@xtreem0573 жыл бұрын
This package is fine but, when I am exporting large files like 10-20 pages it is taking a long time to execute the process. sometimes my server is crashing. What is the solution?
@vivekraju97215 жыл бұрын
sir ,how can we convert a particular html div into pdf ??
@clyder55024 жыл бұрын
make a new view for that specific div
@codecombination93373 жыл бұрын
Maybe place that div in another file and create a button that access that file and set $pdf = PDF::loadView('yourfilewiththatdiv'); return $pdf->download('yourfilewiththatdiv.pdf'); place above line of code in routes where you hit button
@DavidGonzalez-vb8ev6 жыл бұрын
Great vid Andre thanks. By any chance how can we pass parameters through a controller with this package?
How to show font awesome icon 5 in generated pdf??
@muchiri49673 жыл бұрын
I have done everything right. Using Laravel 8, it is saving but it is not downloading or streaming... What could be the issues? EDIT: I am an idiot. I was saying $pdf->download() instead of return $pdf->download(). Can't believe | spent 30 mins there.
@bocdz5 жыл бұрын
nice video, but how if i want to parsing data into view? i got an error when i use bootstrap url inside the view
@wajdinaim57034 жыл бұрын
If on laravel nova? where I should put the packages? sorry newbies :/
@augustocarvalhochavez31925 жыл бұрын
disculpa como se puede hacer un filtro que haga una búsqueda de textos en un pdf o en varios????
@wefixittech14646 жыл бұрын
Excelent video, hope you can check a package with a ticket recipe with qr code, like a store when you buy stuff, thanks again.
@drehimself6 жыл бұрын
Thanks for watching! Will consider.
@mikro63tv943 жыл бұрын
Where I can find the code of his project?
@sirdad97844 жыл бұрын
Thank you for the tutorial , could you please tell me what theme you are using on visual studio code ?
@ravikumarcee814 жыл бұрын
hi Andre, Thank you for the tutorial. But could you please let me know how to pass dynamic data into invoice-pdf.blade.php from controller? $pdf = PDF::loadView('invoice-pdf',['order'=>$order, 'order_items'=>$order_items, 'user'=>$user]); how to render in invoice-pdf?? Could you please suggest
@JunaidAli4802 жыл бұрын
You can actually call your data from model and pass in $data
@iShah3003 жыл бұрын
Logo doesnt show in pdf ..
@pankajprasad71953 жыл бұрын
good job
@socheator23384 жыл бұрын
how to export with unicode
@WLuisMartinez6 жыл бұрын
excelent tutorial!!! you should make another tutorial about the most useful VS Code packages for laravel
@drehimself6 жыл бұрын
I have a video on VS Code vs Sublime where I outline a lot of my VS Code packages (although I've added a few since then). Will consider doing an updated one.
@erosmarcuszamora88285 жыл бұрын
Error: Class 'App\Http\Controllers\PDF' not found
@bedisguesmi62194 жыл бұрын
add use PDF;
@TutoDS20145 жыл бұрын
my css not working
@ezcodepl5 жыл бұрын
are you running pdf with html and bootstrap 4 class? e.g. Text button do I have to head .btn {} .btn-primary {} to re-create my own css style?
@drehimself5 жыл бұрын
Yeah, using bootstrap.
@adiatsaputra85654 жыл бұрын
Is anyone gets 500 error after upload dompdf to shared hosting?
@moseskamau49895 жыл бұрын
Has anyone found the solution for the timeout issue??
@darmawiryanata5 жыл бұрын
it's because of the img src script in the view file, try to remove it
@akrmh99346 жыл бұрын
Very good
@drehimself6 жыл бұрын
Thanks for watching!
@AlexFermanAlexFerman4 жыл бұрын
Gooooooood, tks
@angelamolina55995 жыл бұрын
anyone getting an error? class view does not exist?
@engineerhealthyself5 жыл бұрын
likely a syntax error when you modified the providers array in config/app.php
@محمدسعیدعمر-ف9ث5 жыл бұрын
how we can solve the Arabic text problem in this laravel package without the suggestion this solution dose not work just display the Arabic characters not correctly...thank you
@bedisguesmi62194 жыл бұрын
use github.com/arabnewscms/PDFanony
@rizkyfirmansyah55445 жыл бұрын
Laravel Mantap..........................
@zohaibkhatri27045 жыл бұрын
syntax error, unexpected 'PDF' (T_STRING)
@edurodriguesdias5 жыл бұрын
Did you add PDF alias on array of aliases within config/app.php?
@cutecatscompilation42064 жыл бұрын
@Ahmed Hegazy thx
@sagarkapasi0996 ай бұрын
Those who use mpdf for complex views are doomed, export using puppeteer based packages
@hemanshu8775 жыл бұрын
How to use this with Vue js
@javierquiroga67745 жыл бұрын
pass the url
@software_engineer_semh5 жыл бұрын
what is this ERROR sir fopen(C:\Users\SEMH\Desktop\LARAVEL PROJECTS\blogTest\storage\fonts/\6ba687a83211543c7380cb18eca5204c.ufm): failed to open stream: No such file or directory