We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 85ea3d3 commit 6acded2Copy full SHA for 6acded2
readme.md
@@ -4,7 +4,7 @@
4
5
Require this package in your composer.json and update composer. This will download the package and the dompdf + fontlib libraries also.
6
7
- "barryvdh/laravel-dompdf": "0.5.*"
+ "barryvdh/laravel-dompdf": "0.6.*"
8
9
After updating composer, add the ServiceProvider to the providers array in config/app.php
10
@@ -16,7 +16,7 @@ You can optionally use the facade for shorter code. Add this to your facades:
16
17
You can create a new DOMPDF instance and load a HTML string, file or view name. You can save it to a file, or stream (show in browser) or download.
18
19
- $pdf = App::make('dompdf'); //Note: in 0.6.x this will be 'dompdf.wrapper'
+ $pdf = App::make('dompdf.wrapper');
20
$pdf->loadHTML('<h1>Test</h1>');
21
return $pdf->stream();
22
0 commit comments