Skip to main content
Filter by
Sorted by
Tagged with
1 vote
0 answers
88 views

I am developing a Laravel application on Windows OS. Among other things, the application needs to generate reports, including a background image within them. I am using the barryvdh/laravel-dompdf PDF ...
ITgirl's user avatar
  • 11
0 votes
1 answer
50 views

I am using DOMPDF library for Laravel. I generate pdf using approach from documentation. $mainPdf = Pdf::loadView('banks_preferred.main', $necessaryData) ->setPaper('...
bradley cooper's user avatar
1 vote
0 answers
50 views

I have a method for passing data to report.blade How do I so that when there is a .pdf file in Measurement Picture, the PDF file is merged with report.blade that is exported using a dompdf on the last ...
GigaTera's user avatar
  • 1,337
0 votes
2 answers
308 views

Using Laravel Framework 10.48.3 I'm using the following in my scripts tag: <script type="text/php"> if (isset($pdf)) { $text = "page {PAGE_NUM} / {PAGE_COUNT}"; ...
chdonncha's user avatar
  • 555
0 votes
1 answer
100 views

I'm generating a document using barryvdh/laravel-dompdf. I want to use the Nunito font in my document. My controller method: public function generateSocialBanner(EditionUser $editionUser) { $...
LucileDT's user avatar
  • 682
1 vote
0 answers
209 views

I'm trying to generate shipping labels with Laravel-DomPDF on Laravel 10. My idea is to have two columns and print in ordrer from left ro right with 1x1, 1x2, 2x1 etc... The HTML template is obviously ...
Yassinitoz's user avatar
-1 votes
1 answer
150 views

I'm trying to integrate the barryvdh/laravel-dompdf package into my Laravel 10 project. After installing it via Composer: composer require barryvdh/laravel-dompdf I followed the documentation and ...
Mohamed Zouine's user avatar
0 votes
1 answer
592 views

I'm encountering an issue with adding an SVG image to Laravel Dompdf. The image appears in black and white instead of its original colors. How can I resolve this? Image file I added this code in the ...
Mahesh's user avatar
  • 11
0 votes
1 answer
158 views

The Laravel Nova 4 documentation says that to implement a download action I should do it like this: return Action::downloadUrl('https://example.com/invoice.pdf', 'Invoice.pdf'); But it doesn't work. ...
TaM's user avatar
  • 35
0 votes
1 answer
319 views

I have a project using Laravel 10 and Lando for a local dev environment. We recently implemented Laravel DOMPDF to turn a Blade template into a PDF. This has been working fine, so long as we run lando ...
Sturm's user avatar
  • 789
1 vote
0 answers
35 views

I make app to create pdf. Problem is that pdf doesn't display the image. For example I tryed add that in 2 ways: <img src="http://localhost/images/pages/page-1.jpg"> <img src="{...
sadasdadssad's user avatar
0 votes
1 answer
432 views

builing Laravel API, I have contract PDF file stored in remote server and saved in database with uid, and also online signature file, which is png. now when user clicks sign button, i want to take ...
Nika Simon's user avatar
0 votes
1 answer
211 views

I am using Laravel Octane and laravel-dompdf to generate the PDF. This was working fine when I was using the PHP-FPM and when I replaced PHP-FPM with Laravel Octane with Swoole, it says The provided ...
prajwal_stha's user avatar
1 vote
0 answers
85 views

I have a single php file. I want to convert the html codes in the php page to pdf with dompdf. My PHP page is like this; <!--First Page--> <div class="container"> Page 1 ...
Cihan Yıldız's user avatar
0 votes
1 answer
796 views

I am facing "use of unknown class" error when I am using the alias created for facades :: class in my controller. $pdf = PDF ::loadView('test', $data); This line says PDF is unknown class. ...
Shweta's user avatar
  • 1
0 votes
1 answer
482 views

I have six html pages in the single html file and ı want to convert to pdf with dompdf like below; page size landscape, page size landscape, page size landscape, page size portrait, page size ...
Cihan Yıldız's user avatar
0 votes
0 answers
648 views

hello guys im trying to save a docx file as a pdf and when i save it its give me an error public function attr(Request $request) { // Validate the form data here as needed // ...
NOURDDINE BENYAHYA's user avatar
0 votes
1 answer
237 views

I have a laravel 8.75 application that use barryvdh/laravel-dompdf 2.0.1. It creates pdf file from database and save it to the storage file. I need to add bookmarks on each dynamic data on the pdf ...
Petitemo's user avatar
  • 325
-1 votes
1 answer
167 views

Im using Laravel 9.52.10 and PHP 8.0.28. i have CRUD that display preaching data can print it. that data only can printed per ID, not all of data preaching. but i have an error: Attempt to read ...
Joshia Agrisa Anrhiely Luther's user avatar
0 votes
1 answer
1k views

Converting HTML to PDF using Maatwebsite I could not achieve below pdf page setting options. Instead, I switched to laravel-dompdf. With Laravel DomPDF html convert to pdf with few styling issues ...
B L Praveen's user avatar
  • 2,008
1 vote
1 answer
4k views

Library it´s: composer require barryvdh/laravel-dompdf i´m trying to create pdf in my app with laravel 10.20. I created my blade and all content it´s ok. I have any rows, columns, etc and all my ...
scorpions77's user avatar
0 votes
0 answers
201 views

"Something strange is happening on my Apache 2 server in production where I've deployed my Laravel app. When the server is restarted, all the images in my PDF display correctly, but at some point,...
SAWADOGO SIDIKI's user avatar
0 votes
0 answers
67 views

Is there any way to get the Y Position of a specific HTML Element? I would like to make a page Break before a heading, if the heading is the last element of the page: Ill tried already with ...
derdida's user avatar
  • 14.9k
0 votes
0 answers
125 views

i'm using barryvdh/laravel-dompdf laravel package for pdfs. In the pdf page (coded in html) when the text is more than one line and the line breaks inside the table cell the second line does not ...
peuf's user avatar
  • 1
0 votes
1 answer
923 views

controller namespace App\Http\Controllers\Pdf; use App\Models\PDF; use App\Models\TestMcq; use Illuminate\Http\Request; use App\Http\Controllers\Controller; class TestPdfController extends ...
Ahmed Nasser's user avatar
0 votes
0 answers
1k views

I'm trying to generate a PDF with correct characters using Laravel and dompdf but there is a "?" characters. I have created a test php file where I am trying to find the best solution. If I ...
korvon's user avatar
  • 15
4 votes
1 answer
2k views

In my laravel project I am using DOMPDF to generate pdf from html blade file. I want to show text in Hindi or Gujarati as per language selection. Here is my code of controller. $pdf=PDF::loadView('my-...
Maya Shah's user avatar
  • 970
0 votes
0 answers
372 views

I know there's already a lot discussion about this since I already tried to find a way to resolved this, but still failed. this is the code to generate dompdf on the controller // instantiate and use ...
Rankioto's user avatar
0 votes
1 answer
2k views

I'm working with Laravel 9 and Dompdf to generate some pdf files from the information provided on the form, so I tried this: composer require barryvdh/laravel-dompdf And then register it at config....
Peter Amo's user avatar
  • 261
0 votes
1 answer
884 views

i have a question, after i tried many version of bootstrap to use in dompdf laravel, there's no one can compatible. I've searching in other people same question as me, they said bootstrap 3.3.6 is ...
Rizal Dieqy's user avatar
1 vote
0 answers
55 views

I have a table with large data. If the data of the a tr does not end on one page, then the rowspan td data will be shown again on the next page. how I can do this ? i have attached an image for better ...
Asif Anam Khan's user avatar
0 votes
0 answers
77 views

Can someone help me to fix it? while installing composer require barryvdh/laravel-dompdf Errors Problem 1 - laravel/ui is locked to version v2.3.0 and an update of this package was not ...
Raouf tarek's user avatar
0 votes
0 answers
221 views

I developed the resource to generate pdf using Lib DOMPDF in my system. But it only works correctly when I'm in the DEV environment that uses HTTP, when I move to the Official environment that uses ...
Kelvera's user avatar
  • 25
1 vote
1 answer
591 views

I'm using Laravel 9 and Dompdf to generate some pdf files. And the blade that I'm calling for the pdf files, contains persian/farsi/arabic character languages and therefore the final result will be ...
Peter Amo's user avatar
  • 261
1 vote
3 answers
2k views

I am using laravel-dompdf to create a pdf file and save it to drive. Unfortunately, i am getting the above mentioned error. I tried different solutions including increasing the memory limit and max ...
MUHAMMAD Siyab's user avatar
0 votes
1 answer
1k views

I have a problem with letter generating the letter 'N' become become 'ᴉ' (i upside down). I am working Laravel 9 using barryvdh/laravel-dompdf. In pc it is okay but when I open in my iphone (ios 16) I ...
Khean's user avatar
  • 99
0 votes
1 answer
666 views

i'm working with DomPdf in Laravel. But it not showing all the data. here's the image (I can't embeded the image because don't have enough reputation) : IMG1 and this my pdf blade : body{ ...
Tommy Saputra's user avatar
0 votes
0 answers
562 views

i want to make column responsive in dompdf when doanwloading, in browser already responsive. But when downloading pdf, column not responsive. [ i already use display:block, beacause i read in article ...
Lukman17's user avatar
2 votes
1 answer
6k views

I'm recently working on report generation for simple 2 records from database. For generating this report i'm using Laravel dompdf package, but it's taking too long time to download which is not ...
leaveme_alone's user avatar
-2 votes
1 answer
2k views

I am trying to create the pdf, using the domPDF library, for each single client present in the table of my application. So far everything ok! When I go to save the pdf I want the name of the pdf ...
Sarah's user avatar
  • 285
-2 votes
1 answer
104 views

Image to be attached to PDF can help me to generate multiple mpdf files with loop without lose configuration, because it always write first file correct but the others with attached image contain ...
Ahmed Mohamed's user avatar
0 votes
1 answer
509 views

Instead of 'john' I want to replace it using the selected user's name from database. Is there a way to this on Mail? Controller public function sendEmail(Request $request) { $users = ...
Sharmae Reyes's user avatar
0 votes
1 answer
1k views

I am using laravel version 9 for doing my project. and there is a feature that needs to let the user export the event ticket. I try to use the package barryvdh/laravel-dompdf . right now I encounter ...
JUSTIN CHUA's user avatar
0 votes
1 answer
775 views

We all are trying to load a pdf with graph on it and send to email. However when trying to create a pdf file it shows error as failed with out error. We are using library called as : "barryvdh/...
santosh's user avatar
  • 41
0 votes
1 answer
2k views

when I try to load my file it loads only file URL what is the solution I try this but it loads only file path in pdf file return PDF::loadFile(public_path().'/your_html.html')->stream('download.pdf'...
Zain Jon's user avatar
0 votes
0 answers
1k views

I am facing a problem where the PDF file not downloaded when button clicked as well. The response status is 200 but nothing happen. Already refer to docs on how to use the laravel-dompdf library. My ...
Lalat Putih's user avatar
3 votes
0 answers
6k views

I am running on PHP v 7.4 after an upgrade from the 7.1 version I am having issues on install mpdf v8.0.4 since its compatible with php 7.4 version The error facing after ruuning composer update mpdf/...
Toots's user avatar
  • 57
0 votes
0 answers
580 views

I have below text when creating pdf file using DOMPDF but it randomly splits the line when using P and DIV tag. This is a line of text that should not split, actually it will split in DOMPDF.
Hadem's user avatar
  • 127
0 votes
1 answer
1k views

I have two footers like this: 1. Footer A <footer class="footer first">footer for 1st page</footer> 2. Footer B <footer class="footer second">footer for 2nd, 3rd,...
Ade Mugni Rusmana's user avatar
0 votes
1 answer
441 views

Hi I have created a pdf with Laravel invoice package now the pdf showing in the display is fine but when printing that document fonts get blurred anyone please guide how to solve it??
Faizan Ahmad's user avatar