| Recommend this page to a friend! | 
| Info | Example | Reputation | Support forum | Blog | Links | 
| Ratings | Unique User Downloads | Download Rankings | ||||
| Total: 5,910 | All time:  392 This week: 44 | |||||
| Version | License | PHP version | Categories | |||
| zip 1.64 | GNU Lesser Genera... | 5.2 | PHP 5, Files and Folders, Compression | 
| Description | Author  | |||||||||||||||||||||||
This class can be used to create archives of compressed files in ZIP format.  | 
  | |||||||||||||||||||||||
<?php | 
  | 
| File | Role | Description | 
|---|---|---|
| Class | Zip class | |
| Example | Example file for generating a download file. | |
| Example | Example file for generating a download file, using the new sendZip method. | |
| Example | Example file for generating a zip file and save it on the server. | |
| Example | Example showing the stream function on Zip.php | |
| Data | Auxiliary data | |
| 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. | 
| The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. | 
| Version Control | Reuses | Unique User Downloads | Download Rankings | ||||||||||||||||
| 71% | 1 | 
  | 
  | 
| User Ratings | User Comments (10) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
  | 
  | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Applications that use this package | 
 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 | 
| Class | Why it is needed | Dependency | 
|---|---|---|
| EPub | ePub's are Zip archives, this class is needed to generate those. Zip is a small, easy to use Zip archive creator. | Required | 
| Related pages | 
| This project on GitHub | 
| Optional donations via PayPal. |