Zipper
Zipper copied to clipboard
Create Empty Directory
Hello,
I think create directory is missing. I tried $zipper->folder("folder"); but its not worked because there is no added file. I also tried $zipper->folder("folder")->add(array());.
I used these style but sometimes I should create directory with no file.
$zipper->folder("folder/subfolder")->addString("file.txt", null);
I think makeDirectory will also good for these project.