Created
June 22, 2020 20:03
-
-
Save parzibyte/6e4bedee9012bab35c7b85f5bd1523f5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$dompdf = App::make("dompdf.wrapper"); | |
$dompdf->loadView("ejemplo", [ | |
"nombre" => "Luis Cabrera Benito", | |
]); | |
return $dompdf->download("mi_archivo.pdf"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment