kodoyosa/wkhtmltopdf-amd64 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

kodoyosa/wkhtmltopdf-amd64

最新稳定版本:0.12.6

Composer 安装命令:

composer require kodoyosa/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.6'.

Packagist

This package can be found on Packagist and installed with Composer.

Require the package for amd64 with:

php composer.phar require kodoyosa/wkhtmltopdf-amd64 "0.12.4"

The binary will then be located at:

vendor/kodoyosa/wkhtmltopdf-amd64/bin/wkhtmltopdf-amd64

Also a symlink will be created in your configured bin/ folder, for example:

vendor/bin/wkhtmltopdf-amd64

Usage

You can use the path constant to easily locate the binary in the PHP codebase:

$path = \kodoyosa\WKHTMLToPDF\WKHTMLToPDF::PATH;

For realpath use following script

$realpath = realpath(\kodoyosa\WKHTMLToPDF\WKHTMLToPDF::PATH);

统计信息

  • 总下载量: 137
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 167
  • 开发语言: PHP

其他信息

  • 授权协议: LGPL-3.0-or-later
  • 更新时间: 2024-01-17