承接 digicomp/flowwkhtmltopdfadapter 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

digicomp/flowwkhtmltopdfadapter

Composer 安装命令:

composer require digicomp/flowwkhtmltopdfadapter

包简介

Using pdf/snappy for a nice integration of wkhtmltopdf as ViewInterface

README 文档

README

This package provides a PdfView for your ActionController.

Introduction

The PdfView connects up to three Fluid templates:

  • header-html (optional): The defaultPath is @templateRoot/@subpackage/@controller/@action.PDFHead.html
  • body-html (required): The defaultPath is @templateRoot/@subpackage/@controller/@action.PDFBody.html
  • footer-html (optional): The defaultPath is @templateRoot/@subpackage/@controller/@action.PDFFoot.html

header-html and footer-html will only be used if found.

Additionally, you may set ALL options Knp\Snappy (an abstraction of wkthmltopdf) understands in your Views.yaml to configure your PdfView:

-
  requestFilter: "isFormat('pdf')"
  viewObjectName: "DigiComp\\FlowWkhtmlToPdfAdapter\\View\\PdfView"
  options:
    marginLeft: "0mm"
    marginRight: "0mm"
    marginTop: "0mm"
    marginBottom: "0mm"

If you have to use wkhtmltopdf with unpatched Qt you could activate the usage of Xvfb, but really: I would not recommend that. ;)

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-02-22

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固