📜  html para pdf - Html 代码示例

📅  最后修改于: 2022-03-11 14:53:01.037000             🧑  作者: Mango

代码示例1
// install: "composer require pdfcrowd/pdfcrowd"
require "pdfcrowd.php";

$api = new \Pdfcrowd\HtmlToPdfClient("demo", "ce544b6ea52a5621fb9d55f8b542d14d");
$api->convertUrlToFile("http://example.com", "document.pdf");