Login   Register  
PHP Classes
elePHPant
Icontem

Zip: Create archives of compressed files in ZIP format

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (7)   DownloadInstall with Composer Download .zip   Reputation   Support forum (13)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2014-06-17 (4 months ago) RSS 2.0 feedStarStarStarStar 68%Total: 4,596 This week: 16All time: 553 This week: 62Up
Version License PHP version Categories  
zip 1.64GNU Lesser General Publ...5.2PHP 5, Files and Folders, Compression
Description Author  

This class can be used to create archives of compressed files in ZIP format.

It is based on the Create Zip File class originally written by Rochak Chauhan.

This version writes the compressed archive to a file instead of a variable when the archive size exceeds a given memory usage threshold.

It can also add comments to the ZIP archives.

Picture of Asbjorn Grandt
Name: Asbjorn Grandt <contact>
Classes: 8 packages by
Country: Denmark Denmark
Age: 43
All time rank: 2531 in Denmark Denmark
Week rank: 23 Up1 in Denmark Denmark Equal
Innovation award
Innovation award
Nominee: 3x

  Files folder image Files  
File Role Description
Plain text file Zip.php Class Zip class
Accessible without login Plain text file Zip.Example1.php Example Example file for generating a download file.
Plain text file Zip.Example1a.php Example Example file for generating a download file, using the new sendZip method.
Accessible without login Plain text file Zip.Example2.php Example Example file for generating a zip file and save it on the server.
Plain text file Zip.Example3 Example Example showing the stream function on Zip.php
Plain text file README Data Auxiliary data
Plain text file Zip.Example3.php Example Step version to 1.62 Allow customizing temporary file names Let's allow users to customize temporary files, either by setting Zip::$temp to a custom temporary folder or by setting Zip::$temp to a callable that returns a custom temporary file name.

 Version Control Reuses Unique User Downloads Download Rankings  
 71%1Total:4,596All time:553
 This week:16This week:62Up
User Ratings User Comments (4)  
 All time
Utility:100%StarStarStarStarStarStar
Consistency:87%StarStarStarStarStar
Documentation:-
Examples:93%StarStarStarStarStar
Tests:-
Videos:-
Overall:68%StarStarStarStar
Rank:307
 
muy buena clase!, en solo 2 minutos ya estaba funcionando!.
1 year ago (SR Soluciones)
70%StarStarStarStar
Finally I found it, thank you.
3 years ago (jaume mila)
70%StarStarStarStar
really good class
3 years ago (gabriel souza)
70%StarStarStarStar
really useful with big files (250 mb).
4 years ago (Francisco Velazquez)
65%StarStarStarStar