A wrapper around ZipArchive to extract .zip files.
This is a refactoring of my Piwik_Unzip_ZipArchive class. It now requires php 5.3.6+, uses namespaces, adheres to object calisthenics, and is re-licensed as MIT.
-
Simple to use!
use VIPSoft\Unzip\Unzip; $unzipper = new Unzip(); $filenames = $unzipper->extract($zipFilePath, $extractToThisDir);
-
Guards against malicious filenames in the archive
Copyright (c) 2010-2012 Anthon Pang. See LICENSE for details.
- Anthon Pang robocoder