On the JSLabs blog today, there's a (short) new tutorial showing an alternate method to creating a Zip archive in PHP (rather than with the zip extension).
He illustrates the creation of simple archive that pulls in a test file from a given path. This is then pushed into the zip archive and packed down and exported. He also notes the different compression levels that it can be created with - no compression, bzipped and gzipped.
You can download the library here.