silvertipsoftware/wkhtmltopdf-amd64
Composer 安装命令:
composer require silvertipsoftware/wkhtmltopdf-amd64
包简介
Convert html to pdf using webkit (qtwebkit). Static linked linux binary for amd64 systems.
README 文档
README
This repository contains the static compiled binaries from the wkhtmltopdf project. More about the functionality of wkhtmltopdf and wkthmltoimage can be found there.
Binaries for Microsoft Windows, also installable with composer, can be found here: github.com/wemersonjanuario/wkhtmltopdf-windows
Binaries for CentOS 7, also installable with composer, can be found here: github.com/rvanlaak/wkhtmltopdf-amd64-centos7
Installation
Hint: The version of the binary is equal to the git tag. To install the latest version, use '0.12.5'.
Packagist
This package can be found on Packagist and installed with Composer.
Require the package for i386 with:
php composer.phar require silvertipsoftware/wkhtmltopdf-i386 "0.12.5"
And for amd64 with:
php composer.phar require silvertipsoftware/wkhtmltopdf-amd64 "0.12.5"
The binary will then be located at:
vendor/silvertipsoftware/wkhtmltopdf-i386/bin/wkhtmltopdf-i386
Also a symlink will be created in your configured bin/ folder, for example:
vendor/bin/wkhtmltopdf-i386
Usage
You can use the path constant to easily locate the binary in the PHP codebase:
$path = \silvertipsoftware\WKHTMLToPDF\WKHTMLToPDF::PATH;
For realpath use following script
$realpath = realpath(\silvertipsoftware\WKHTMLToPDF\WKHTMLToPDF::PATH);
silvertipsoftware/wkhtmltopdf-amd64 适用场景与选型建议
silvertipsoftware/wkhtmltopdf-amd64 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 339.54k 次下载、GitHub Stars 达 10, 最近一次更新时间为 2019 年 10 月 24 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「pdf」 「thumbnail」 「snapshot」 「convert」 「binary」 「wkhtmltopdf」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 silvertipsoftware/wkhtmltopdf-amd64 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 silvertipsoftware/wkhtmltopdf-amd64 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 silvertipsoftware/wkhtmltopdf-amd64 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
PDF or Image generation from a Url or HTML page
Captures website screenshot and converts website to PDF using Screenshot machine - online website screenshot generator and website to PDF converter.
Guzzle Snapshots Middleware
A PHP package that takes a snapshot of your application and allows you to retrieve it later to help with debugging.
A PHP library for fetching thumbnails from a URL
Snapshot your database with mysqldump and store it to a an asset volume (S3). Also restore it from that same location. Great for local dev snapshots and nightly backups.
统计信息
- 总下载量: 339.54k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 10
- 点击次数: 41
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: LGPL-3.0-only
- 更新时间: 2019-10-24