singularity/pdf-merger
最新稳定版本:1.0.2
Composer 安装命令:
composer require singularity/pdf-merger
包简介
PDF merger
README 文档
README
Installation
The preferred way to install this extension is through composer.
Either run
$ composer require singularity/pdf-merger:~1.0
or add
"singularity/pdf-merger": "~1.0"
to the require section of your composer.json file.
Usage
include 'PDFMerger.php';
$pdf = new PDFMerger;
$pdf->addPDF('samplepdfs/one.pdf', '1, 3, 4') specific pages
->addPDF('samplepdfs/two.pdf', '1-2') range of pages
->addPDF('samplepdfs/three.pdf', 'all') all pages
->merge('file', 'samplepdfs/TEST2.pdf');
//REPLACE 'file' WITH 'browser', 'download', 'string', or 'file' for output options
//You do not need to give a file path for browser, string, or download - just the name.
Contributing
Please see CONTRIBUTING for details.
Credits
License
The BSD License (BSD). Please see License File for more information.
#InventTomorrow
www.singularity.is
统计信息
- 总下载量: 5.28k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2020-03-12