The system after the file compression and generation process will take you to a new page called GenerarZip.php, there will be a link called DOWNLOAD NOW, where you can easily access the ZIP file created, with the files already compressed.
Video Explicativo Script PHP
Setting up the PHP script to compress ZIP files on a local server
Download GitHub App
Application configuration of the PHP script for its operation on your computer
git clone https://github.com/configuroweb/zip.git