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.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire