<?php

$zipFile = 'lux.zip';        // path to your zip file
$extractTo = 'extracted/';    // folder to extract to

$zip = new ZipArchive;

if ($zip->open($zipFile) === TRUE) {
    $zip->extractTo($extractTo);
    $zip->close();
    echo "File extracted successfully!";
} else {
    echo "Failed to open ZIP file.";
}

?>
