Zipper
Zipper copied to clipboard
Cannot remove file from existing zip file
I have a project where I create a Zip file, with several files inside. This zip file is available for some time, and in this time the contents of the files inside can be changed/renamed and so on, so I need to delete the file from the zipfile, while the new file will be compiled.
But currently the files are not removed, but the new files are inserted without problem.
I use it like this: $zipper = Zipper::make($pathAndFilename); $zipper->remove($filenameToRemove); $zipper->close();
other information: laravel 5.4, version of the package: 1.0.2, forge provisioned server with ubuntu and Nginx