Ekstrak File zip di Laravel 8

Buka Terminal
composer require zanysoft/laravel-zip

Setelah itu masukan pada controller nya

use ZanySoft\Zip\Zip;
$zip = Zip::open('file.zip');
$zip->extract(public_path() . '/uncompressed');

Tinggalkan Balasan 0

Your email address will not be published. Required fields are marked *