8 lines
182 B
PHP
8 lines
182 B
PHP
![]() |
<?php
|
||
|
require 'vendor/autoload.php';
|
||
|
|
||
|
use Spipu\Html2Pdf\Html2Pdf;
|
||
|
|
||
|
$html2pdf = new Html2Pdf();
|
||
|
$html2pdf->writeHTML('<h1>HelloWorld</h1>This is my first test');
|
||
|
$html2pdf->output();
|