erc/pdfmerger 问题修复 & 功能扩展

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

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

erc/pdfmerger

最新稳定版本:0.0.1

Composer 安装命令:

composer require erc/pdfmerger

包简介

Library for merging multiple PDFs

关键字:

README 文档

README

PHP library for merging multiple PDFs using FPDI

Based on PDFMerger created by Jarrod Nettles December 2009

https://pdfmerger.codeplex.com/

Class for easily merging PDFs (or specific pages of PDFs) together into one. Output to a file, browser, download, or return as a string.

Unfortunately, this class does not preserve many of the enhancements your original PDF might contain. It treats your PDF page as an image and then concatenates them all together.

Note that your PDFs are merged in the order that you provide them using the addPDF function, same as the pages.

If you put pages 12-14 before 1-5 then 12-15 will be placed first in the output.

All of these packages are free and open source software, bundled with this class for ease of use.

Installation

Install using composer.

composer require erc/pdfmerger

Usage

use erc\pdfmerger\PDFMerger;

$pdf = new PDFMerger;
try {
  $pdf->addPDF('a.pdf')
	  ->addPDF('b.pdf')
	  ->addPDF('c.pdf')
	  ->merge('file', 'd.pdf');
} catch(Exception $e){
  echo $e->getMessage();
}

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 未知

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固