| Recommend this page to a friend! |
| Info | Documentation | Reputation | Support forum | Blog | Links |
| Ratings | Unique User Downloads | Download Rankings | ||||
| Not yet rated by the users | Total: 138 | All time: 9,244 This week: 62 | ||||
| Version | License | PHP version | Categories | |||
| easy-merge2pdf 1.0.0 | The PHP License | 5 | PHP 5, Graphics, Files and Folders, C... |
EasyMerge2pdf is a PHP library for merging Images and PDFs. It uses the excellent merge2pdf command available for OSX, linux, windows.
composer require ronisaha/easy-merge2pdf
<?php
require_once 'vendor/autoload.php';
$m = new \EasyMerge2pdf\Merger(['auto' => true]);
or
$m = new \EasyMerge2pdf\Merger(['binary' => '/path/to/merge2pdf']);
$m->addInput('/path/to/input.pdf', '1,3-8,2,1');
try {
$m->merge('/path/to/out.pdf');
} catch (Exception $exception) {
echo $exception->getMessage();
}
| File | Role | Description | ||
|---|---|---|---|---|
| Data | Auxiliary data | |||
| Lic. | License text | |||
| Data | Auxiliary data | |||
| Doc. | Read me | |||
| / | src |
| File | Role | Description |
|---|---|---|
| |
Class | Class source |
| |
Class | Class source |
| |
Class | Class source |
| |
Class | Class source |
| / | tests |
| File | Role | Description |
|---|---|---|
| |
Class | Class source |
| |
Class | Class source |
| |
Class | Class source |
| The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. |
| Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
| 100% |
|
|
| Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.