| Recommend this page to a friend! | 
|  Download | 
| Info | Example |  Files |  Install with Composer |  Download | Reputation | Support forum | Blog | Links | 
| Ratings | Unique User Downloads | Download Rankings | ||||
|     66% | 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 | 
| 
 | 
|  Files (7) | 
| File | Role | Description | 
|---|---|---|
|  Zip.php | Class | Zip class | 
|    Zip.Example1.php | Example | Example file for generating a download file. | 
|  Zip.Example1a.php | Example | Example file for generating a download file, using the new sendZip method. | 
|    Zip.Example2.php | Example | Example file for generating a zip file and save it on the server. | 
|  Zip.Example3 | Example | Example showing the stream function on Zip.php | 
|  README | Data | Auxiliary data | 
|  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. | 
| The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. | 
|  Install with Composer | 
| 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.
 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. |