to create a zip file in php without using ziparchive


I am trying to create a zip file in PHP.

The server environment is limited so I can't use the ziparchive extension neither can exec a shell command.

Is there a pure php solution that would allow me to create .zip archives anyway?

There is also PCLZip, a pure PHP alternative to ZipArchive that can be found at