browsershot 一个借助chrome headless 转换html页面 到 图像或pdf 的php库

php 4年前 (2020) 筑路邦
2,227 0

Convert a webpage to an image or pdf using headless Chrome

Convert html to an image, pdf or string
该软件包可以将网页转换为图像或pdf。这个转换是在幕后由Puppeteer完成的,由它控制谷歌Chrome的headless 版本进行操作。

项目地址

https://github.com/spatie/browsershot