nabble/web2pdf
Composer 安装命令:
composer create-project nabble/web2pdf
包简介
Simple script to convert web pages to PDF file using the wkhtmltopdf binary
README 文档
README
Super simple barebones no-nonsense fast, quick and dirty script to convert web pages to PDF file using the wkhtmltopdf binary
installation
Run composer install and then make sure the files in vendor/bin are executable and the log directory is writable:
composer install
chmod u+x vendor/bin/*
chmod u+x log
You might also need to install additional dependencies with:
sudo apt-get install wkhtmltopdf
usage
Start the development server with:
php -S localhost:8000
Call the script with the required query string parameters url and filename, i.e.:
http://localhost:8000/?url=http%3A%2F%2Fwww.google.com&filename=google+homepage
统计信息
- 总下载量: 13
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-07-08