Zipper icon indicating copy to clipboard operation
Zipper copied to clipboard

Choose storing path

Open nam-co opened this issue 7 years ago • 2 comments

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

nam-co avatar Nov 09 '18 18:11 nam-co

make() is where the zip will be created. add() is the files or folder that will be compressed.

IcaroRios avatar Jan 14 '19 23:01 IcaroRios

Does it always have to be in the public folder? Because I can not set the folder to 'storage' folder of Laravel.

koraykupe avatar Jul 03 '19 09:07 koraykupe