aira-virtual / tcpdi-merger
PDF Importer that supports PDF versions 1.6+. Based on: https://github.com/pauln/tcpdi
0.6.1
2019-03-09 15:36 UTC
Requires
- php: >=5.3.0
- tecnickcom/tcpdf: ^6.2
- dev-master
- 0.6.1
- 0.6.0
- 0.6-beta2
- 0.6-beta1
- 0.5.0
- 0.5-beta3
- 0.5-beta2
- 0.5-beta
- 0.4.3
- 0.4.2
- 0.4.1
- 0.4
- 0.3
- 0.2
- v0.1
- dev-rcamposp/soporte_header
- dev-rcamposp/tabla_contenidos_con_pdf_incompatibles
- dev-rcamposp/boton_descarga_si_archivo_no_es_compatible
- dev-rcamposp/fix_bug_verificacion_compatibilidad
- dev-rcamposp/tabla_de_contenido
- dev-rcamposp/activar_links
This package is not auto-updated.
Last update: 2025-01-19 20:01:56 UTC
README
TCPDI-merger. Merge PDF files using the TCPDI library.
Make it work!
composer require rcamposp/tcpdi-merger
- Copy the example directory.
- Run it!
php example/test-php.php
Example code
<?php
require 'vendor/autoload.php';
use rcamposp\tcpdi_merger\MyTCPDI;
use rcamposp\tcpdi_merger\Merger;
$m = new Merger(true);
$m->addFromFile("example/A.pdf");
$m->addFromFile("example/lorem.pdf");
$m->addFromFile("example/PDF17.pdf");
$m->addFromFile("example/PDF16.pdf");
$m->merge();
$m->save("example/merged-document.pdf");
?>