contributte / invoice

:memo: PDF invoice generator
https://contributte.org/packages/contributte/invoice.html
MIT License
96 stars 25 forks source link

How to save the pdf file? #20

Closed igianni84 closed 4 years ago

igianni84 commented 4 years ago

Hi, sorry for this another question but the documentation is incomplete :(

How do I do to save the pdf file in a folder? Thanks

MartkCz commented 4 years ago

Hi,

combination of https://github.com/contributte/invoice/blob/master/src/Invoice.php#L43 and file_put_contents or other io method