Created
December 26, 2019 01:25
-
-
Save parzibyte/dcb3b15897098a976e8ce75aaeafbaac 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 | |
include_once "./vendor/autoload.php"; | |
use Dompdf\Dompdf; | |
$dompdf = new Dompdf(); | |
$dompdf->loadHtml('<h1>Hola mundo</h1><br><a href="https://parzibyte.me/blog">By Parzibyte</a>'); | |
$dompdf->render(); | |
$dompdf->stream(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment