vipsoft / unzip
Unzip library - a ZipArchive wrapper
Installs: 1 039 824
Dependents: 4
Suggesters: 0
Security: 0
Stars: 33
Watchers: 7
Forks: 15
Open Issues: 0
Requires
- php: >=5.3.6
- ext-zip: *
README
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.
Features
-
Simple to use!
use VIPSoft\Unzip\Unzip; $unzipper = new Unzip(); $filenames = $unzipper->extract($zipFilePath, $extractToThisDir);
-
Guards against malicious filenames in the archive
Copyright
Copyright (c) 2010-2012 Anthon Pang. See LICENSE for details.
Contributors
- Anthon Pang robocoder