It's better when it's simple
Learn about DokuWiki
Follow us on Facebook, Twitter and other social networks.
DokuWiki uses the php-archive library to handle compression and decompression of Zip and Tgz files.
Refer to the API docs for details.
An example can be found in the decompress() method of the Extension Manager Plugin.