zanysoft / laravel-zip

MIT License
300 stars 95 forks source link

How save to specific directory created file zip #29

Closed ozonerik closed 2 years ago

ozonerik commented 2 years ago

How save to specific directory created file zip maybe like: $zip=Zip::create('package.zip'); $zip->add(['file 1','file 2']); $zip->SaveTo($path);

zanysoft commented 2 years ago

Set path on creating zip file Zip::create('path/to/save/package.zip');