Skip to content

Commit 6acded2

Browse files
committed
update readme for 0.6.x
1 parent 85ea3d3 commit 6acded2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

readme.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
Require this package in your composer.json and update composer. This will download the package and the dompdf + fontlib libraries also.
66

7-
"barryvdh/laravel-dompdf": "0.5.*"
7+
"barryvdh/laravel-dompdf": "0.6.*"
88

99
After updating composer, add the ServiceProvider to the providers array in config/app.php
1010

@@ -16,7 +16,7 @@ You can optionally use the facade for shorter code. Add this to your facades:
1616

1717
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.
1818

19-
$pdf = App::make('dompdf'); //Note: in 0.6.x this will be 'dompdf.wrapper'
19+
$pdf = App::make('dompdf.wrapper');
2020
$pdf->loadHTML('<h1>Test</h1>');
2121
return $pdf->stream();
2222

0 commit comments

Comments
 (0)