Zipper icon indicating copy to clipboard operation
Zipper copied to clipboard

Create Empty Directory

Open erayaydin opened this issue 10 years ago • 1 comments

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());.

erayaydin avatar May 23 '15 16:05 erayaydin

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.

erayaydin avatar May 23 '15 16:05 erayaydin