PDFMerger icon indicating copy to clipboard operation
PDFMerger copied to clipboard

composer

Open jupitern opened this issue 11 years ago • 6 comments

Can you add this as a composer package?

jupitern avatar Feb 20 '15 09:02 jupitern

:+1:

helgatheviking avatar Oct 12 '15 14:10 helgatheviking

@jupitern and @helgatheviking ... may be I should. now start learning how to import there :+1:

myokyawhtun avatar Oct 22 '15 14:10 myokyawhtun

Cool! and good luck. I know that for me personally, it always feels that for every one thing I learn, there are 3 more new things to try to catch up on!

Just as a heads up, I slightly modified the code to use the fpdf from the setasign composer package. https://packagist.org/packages/setasign/fpdi-fpdf#p-359

public function __construct()
    {
        require_once('setasign/fpdf/fpdf.php'); // modified to use the setasign versions 
        require_once('setasign/fpdi/fpdi.php'); // particularly their PDF parser
    }

For my project I needed to be able to merge newer PDFs that were otherwise throwing error messages with the default parser. And had to purchase the setasign parser which implements seamlessly if you are using their includes.

helgatheviking avatar Oct 22 '15 15:10 helgatheviking

:+1: Thanks for the composer package...

After started using composer I basically ignore all packages that's not on composer... :wink:

w3l avatar Feb 12 '16 21:02 w3l

@w3l ... I tried adding in composer package ... i think there has been some issues. But someone already imported in packagist

myokyawhtun avatar Feb 15 '16 04:02 myokyawhtun

Can you please include a line in the README about installing via Composer?

prasadgupte avatar Mar 14 '17 05:03 prasadgupte