我有一个这种格式的 zip 文件:
test.zip
|- test/
|- test.txt
|- test2.txt
我可以使用这个来提取:
$zipper = new Zipper();
$zipper->make('test.zip')->folder('test')->extractTo('foo'); //extracts contents of test folder inside zip to foo directory
如何在不指定 zip 中的文件夹名称的情况下提取内容?
谢谢!