#18 Download / Print PDF File In Laravel |Laravel Ecommerce Project Tutorial For Beginner to Advance

preview_player
Показать описание
#printpdfinlaravel

Laravel E-commerce Project Tutorial Playlist Link :

Thanks For Watching.
I hope This video was helpful. If you have any questions then let me know in the comment section.

Best of luck

#webtechknowledge

You can connect with me with the given links below:

#addproducttocartinlaravel

Laravel Ecommerce Project Tutorial From Beginner to Advance part 18

#downloadpdfinlaravel
Рекомендации по теме
Комментарии
Автор

Command for install package for PDF : composer require barryvdh/laravel-dompdf

Then go to config/app.php and make some changes


'providers' => [
....
Barryvdh\DomPDF\ServiceProvider::class,
],
'aliases' => [
....
'PDF' => Barryvdh\DomPDF\Facade::class,
],

WebTechKnowledge
Автор

I have an error msg. "The PHP GD extension is required, but is not installed."🤔 can you help?

hashilankeshwara
Автор

sir im facing an error can u please help me to solve it "The PHP GD extension is required, but is not installed."

MUHAMMADSHOAIB-olcl
Автор

Great vid, I successfully downloaded the pdf but the image isn't. Instead, it displays "Image not found or type unknown". How should I fix it?, I did "myfolder/{{$order->image}}" and my data type in my database is BLOB. The image is visible in loadview but every time I download it "Image not found or type unknown" is displayed. What am I missing? and what should I do?

accountaccount
Автор

Failed to open stream: No such file or directory ....what is the solution for this?

PerwinNonjida
Автор

hello teacher, when i dowload pdf file, my font-family of pdf file is error because my language is VietNamese. How can i fix it ?

trongnhanle
Автор

$pdf =
return

Error: Non-static method cannot be called statically.


how to solve it?

_polashmia
Автор

if the image doesn't appear try this <img height="250" width="450" src="{{ public_path('/product/' . $order->image) }}" />

abdessamadelhaddad
Автор

in your system the user have only one item in his cart if he order more then what..?

usamakhilji
Автор

Clickbait you have written print pdf but it is just download pdf

jankisingh
Автор

I can not download the package. The problem is below .

C:\Users\USER\Desktop\color require barryvdh/laravel-dompdf
Using version ^2.0 for barryvdh/laravel-dompdf
./composer.json has been updated
Running composer update barryvdh/laravel-dompdf
Loading composer repositories with package information
Updating dependencies
Nothing to modify in lock file
Installing dependencies from lock file (including require-dev)
Package operations: 1 install, 0 updates, 0 removals
- Downloading dompdf/dompdf (v2.0.1)
- Downloading dompdf/dompdf (v2.0.1)

muslimtechnology
Автор

I have an error. Can not print pdf with image

<img height="250" width="450"

My code didn't work :(

ryzizzle