How to get SnapPDF to work with Inv Ninja V5

Hi,

Does anyone know if their is a point by point instruction set (noob proof) somewhere on how to setup SnapPDF to work with Inv Ninja V5…

Thank you in advance

GV

Hi,

There’s info on installing SnapPDF here:

To enable it in the app you should just need to update the .env and run php artisan optimize

Does snappdf comes prebundled with invoice ninja as per post in How to correctly install snappdf · Issue #7504 · invoiceninja/invoiceninja · GitHub or is valid only for docker image?

@david can you please advise?

@m4rv1n

We don’t bundle it any more as it bloats the size of the release package.

You can enable it by running (as the web user)

sudo -u www-data ./vendor/bin/snappdf download

Then update your .env file to change the PDF_GENERATOR=snappdf

Thanks @david ,
I do confirm the size of snappdf is huge. I was trying to reduce the size of invoiceninja directory as it is already over 1GB, with vendor taking 863M (Beganovich taking 471M because of 336M Chrome; Google 109M). Anyway the result is good as with snappdf the pdf is generated within 3 seconds (if company logo is taken locally).