Created
June 22, 2020 20:08
-
-
Save parzibyte/34dca10742037028899465ba2aa11ae5 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", | |
]); | |
$dompdf->save("mi_archivo.pdf"); | |
return "PDF guardado"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment