Zipper
Zipper copied to clipboard
Choose storing path
Thank you fo the script, is very useful, I was wondering on make() how do I choose the location of the future .zip?
For example if I want it in public/zip/file.zip (public) or storage/app/zip/file.zip (storage) on $zipper->make('zip/file.zip')->add('/somewhere'.$files)->close();
and the same goes from where I choose the files?
Appreciate any help and thanks
make() is where the zip will be created. add() is the files or folder that will be compressed.
Does it always have to be in the public folder? Because I can not set the folder to 'storage' folder of Laravel.