title: Libraries other than ZipArchive for creating pkzip archives in PHP?
body: <p>I'm in the process of writing some epub creation functionality using php5. Currently I am attempting to use ZipArchive but have run into a couple annoyances with it. First of all, there is no functionality to set the compression level. Second of all, <code>ZipArchive::addFile()</code> seems to fail silently and create a corrupt archive whenever I use it. I have been using <code>file_get_contents()</code> + <code>ZipArchive::addFromString()</code> instead but would prefer to just use the documented function for adding files.</p>
  
  <p>I will not post code samples unless someone would really like to help me debug this issue, but rather I'm wondering if there are any other libraries for creating zip (pkzip) archives in PHP that you would recommend. So far, I have seen <a href="http://www.phpconcept.net/pclzip/" rel="nofollow">PclZip</a>, whose site does not seem to be loading, but not much else. I have also considered using <code>exec()</code> + <code>zip</code> (unix command). This code will only run on this one particular linux box so portability is not an issue.</p>
  
  <p>Thanks in advance for any suggestions!</p>