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

  Рет қаралды 10,218

Web Tech Knowledge

Web Tech Knowledge

2 жыл бұрын

#printpdfinlaravel
Laravel E-commerce Project Tutorial Playlist Link :
• Laravel E-commerce Pro...
Get the E-Commerce Project Source Code : buymeacoffee.com/yaminshakil/...
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:
Facebook Link: / yaminshakil07
Instagram Link: / yamin_shakil
Twitter Link: / yaheashakil
#addproducttocartinlaravel
Laravel Ecommerce Project Tutorial From Beginner to Advance part 18
#downloadpdfinlaravel

Пікірлер: 30
@WebTechKnowledge
@WebTechKnowledge 2 жыл бұрын
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, ],
@ashikrahman1036
@ashikrahman1036 3 ай бұрын
bro pin this comment
@WebTechKnowledge
@WebTechKnowledge 3 ай бұрын
Okay
@HungLe-uj1ky
@HungLe-uj1ky 2 жыл бұрын
Thanks bro
@hashilankeshwara834
@hashilankeshwara834 Жыл бұрын
I have an error msg. "The PHP GD extension is required, but is not installed."🤔 can you help?
@user-kx2zu7lp7o
@user-kx2zu7lp7o Жыл бұрын
Lesson19:kzfaq.info/get/bejne/ldyjisegnL3Sg30.html
@accountaccount4217
@accountaccount4217 Жыл бұрын
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?
@trongnhanle7658
@trongnhanle7658 Жыл бұрын
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 ?
@MUHAMMADSHOAIB-ol8cl
@MUHAMMADSHOAIB-ol8cl 10 ай бұрын
sir im facing an error can u please help me to solve it "The PHP GD extension is required, but is not installed."
@muslimtechnology230
@muslimtechnology230 Жыл бұрын
I can not download the package. The problem is below . C:\Users\USER\Desktop\color design\EcommorceWebsite\daraze>composer 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)
@usamakhilji8274
@usamakhilji8274 Жыл бұрын
in your system the user have only one item in his cart if he order more then what..?
@nishusapkota9990
@nishusapkota9990 9 ай бұрын
Order id is passed as a parameter
@code4life332
@code4life332 Жыл бұрын
Done 1/20/2023 ပီးပီ
@03_polashmia57
@03_polashmia57 Жыл бұрын
$pdf = PDF::loadView('student-detail'); return $pdf->download('studentId.pdf'); Error: Non-static method Barryvdh\DomPDF\PDF::loadView() cannot be called statically. how to solve it?
@worshiplord8267
@worshiplord8267 Жыл бұрын
I have the same issue. have you solved it?
@tqnmusic5612
@tqnmusic5612 Жыл бұрын
@@worshiplord8267 yes i have the same issue, you can fix it ?
@rewaj56
@rewaj56 10 ай бұрын
Alias: 'PDF' => Barryvdh\DomPDF\Facade\Pdf::class In your controller: use Barryvdh\DomPDF\Facade\Pdf as PDF; In your function: $pdf = PDF::loadView('admin.pdf', compact('order')); Hope it helps !
@RizaHaryadi-rg6wg
@RizaHaryadi-rg6wg 6 ай бұрын
is it any different from the one in the video?@@rewaj56
@rewaj56
@rewaj56 6 ай бұрын
@@RizaHaryadi-rg6wg yes
@ryzizzle5615
@ryzizzle5615 Жыл бұрын
I have an error. Can not print pdf with image My code didn't work :(
@WebTechKnowledge
@WebTechKnowledge Жыл бұрын
try adding another / before product
@accountaccount4217
@accountaccount4217 Жыл бұрын
Have you successfully fixed this? I'm having the same trouble can't find from google or yt's their suggestions aren't working. The image is being displayed in my blade file or LoadView but every time I download it as pdf it disappears.
@ryzizzle5615
@ryzizzle5615 Жыл бұрын
@@accountaccount4217no I didn't. Sorry
@accountaccount4217
@accountaccount4217 Жыл бұрын
@@ryzizzle5615 Ohh, ty for responding
@rodrigoaraujoei
@rodrigoaraujoei Жыл бұрын
@@WebTechKnowledge adding "/" just resolves the error, but when u see the pdf, the image is like blanc with some cross in the middle...
@jankisingh3692
@jankisingh3692 Жыл бұрын
Clickbait you have written print pdf but it is just download pdf
@WebTechKnowledge
@WebTechKnowledge Жыл бұрын
Bro in order to print you need to download pdf
@abdessamadelhaddad6553
@abdessamadelhaddad6553 8 ай бұрын
if the image doesn't appear try this
Fast and Furious: New Zealand 🚗
00:29
How Ridiculous
Рет қаралды 40 МЛН
Spot The Fake Animal For $10,000
00:40
MrBeast
Рет қаралды 179 МЛН
The Story of Next.js
12:13
uidotdev
Рет қаралды 558 М.
File upload and download  | Laravel Livewire 3 from Scratch
48:16
Top 10 CSS One Liners That Will Blow Your Mind
13:34
developedbyed
Рет қаралды 931 М.
Laravel Dusk: painless browser automation
20:49
Aaron Francis
Рет қаралды 14 М.
Fast and Furious: New Zealand 🚗
00:29
How Ridiculous
Рет қаралды 40 МЛН