Get names and paths from unzip_file()

If i where you i would read the folder where the zip a

$path="/path/to/extract";
$file="/path/to/zip.zip";
unzip_file( $file, $path );
$files = scandir($path);
$files = array_diff(scandir($path), array('.', '..')); // removes empty spots from the array

and then do what you want with the files. File names are in the $files array.

foreach ($files as $key => $file) {
    # code...
}

Did not test it but i think this should work 🙂