I am trying to zip contents from a folder using Chumper/Zipper library in Laravel. The folder contains following files with a folder:
But after I am zipping, I am not getting the "temp" folder, but I am getting the content of temp folder. I want the single files as well as the folder. I have tried the following code:
Zipper::make($makepath)->add($files)->close();
Thanks in advance.
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/320bYhg
via IFTTT
Aucun commentaire:
Enregistrer un commentaire