|Last Updated|| ||Ratings|| ||Unique User Downloads|| ||Download Rankings|| || |
|2015-05-01 (2 months ago) ||Not yet rated by the users||Total: 199 ||All time: 7,501 This week: 1,061|
|Description|| ||Author|| || |
This class can merge and stream multiple ZIP files into a single ZIP file without compressing again the files contained in the archives.
It can create a new ZIP archive including files of one or more other ZIP files.
The files of each merged ZIP archive can be inserted in a given directory.
The resulting merged ZIP archive may be served for download or stored in a new file.
Prize: One copy of the Zend Studio
|Some applications need to combine the contents of multiple ZIP files. Usually they uncompress the input ZIP files contents and recompress it to build the final ZIP archive.
This class provides a more efficient solution that does not require uncompressing the input ZIP files.
|Details provided by the author|| || |
Combine and stream the contents of multiple existing Zip files, as a single file, without recompressing the data within.
This is useful if you have often used static content that needs to be collected and sent to the client.
With this you can pre-compress these packages, and assemble them on the fly, saving CPU cycles by not
having to do the compression every time the files are requested.
The contents of each Zip file added, can even be placed in separate sub folders.
Add this requirement to your
If you already have Composer installed, skip this part.
Packagist, the main composer repository has a neat and very short guide.
Or you can look at the guide at the Composer site.
The easiest for first time users, is to have the composer installed in the same directory as your composer.json file, though there are better options.
Run this from the command line:
php -r "readfile('https://getcomposer.org/installer');" | php
This will check your PHP installation, and download the
composer.phar, which is the composer binary. This file is not needed on the server though.
Once composer is installed you can create the
composer.json file to import this package.
Followed by telling Composer to install the dependencies.
php composer.phar install
this will download and place all dependencies defined in your
composer.json file in the
Finally, you include the
autoload.php file in the new
||Applications that use this package
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.
||Other classes that need this package
||Why it is needed
||Used by the appendZip function