PHP Classes

dUnzip2: Pack and unpack files packed in ZIP archives

Recommend this page to a friend!
  Info   View files Example   Screenshots Screenshots   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (24)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 73%Total: 13,884 This week: 2All time: 75 This week: 140Down
Version License PHP version Categories
dunzip2 1.0.0BSD License3Files and Folders, Compression
Description Author

This package can be used to pack and unpack files in ZIP archives.

There is a class that can retrieve the list of packed files as well several types of file details, such as the uncompressed size, last modification time, comments, etc..

The class can extract individual files, one at a time, specifying their file names, or extract all at once into a given directory.

There is another class that can pack files into new ZIP archives.

The classes use the usual PHP file access functions and gzip extension functions.


Extract files from zip file
I need to extract the files contained within a bespoke zip file

Picture of Alexandre Tedeschi (d)
  Performance   Level  
Name: Alexandre Tedeschi (d) <contact>
Classes: 6 packages by
Country: Brazil Brazil
Age: 36
All time rank: 462 in Brazil Brazil
Week rank: 170 Down6 in Brazil Brazil Down
Innovation award
Innovation award
Nominee: 1x

  • dUnzip2.gif
  Files folder image Files  
File Role Description
Accessible without login Plain text file Class The class itself. Well commented.
Plain text file documentation.txt Doc. Simple file explaining what you can do with the class
Plain text file Class class to dinamically zip files. support subdirs
Plain text file sample.php Example Example #1

 Version Control Unique User Downloads Download Rankings  
This week:2
All time:75
This week:140Down
User Ratings User Comments (9)
 All time
Rank:Not enough user ratings
nice package
6 years ago (Ashok kumar kashyap)
This is a good, basic, generally robust unzipper.
12 years ago (Rich Parker)
Excellent class.
12 years ago (Gonzalo ALFAMDQ)
Thank you.
13 years ago (ngocthai)
The better script that I found, good comments and a really us...
13 years ago (Geferson de Moraes)
Very good
13 years ago (monzinho)
Hello! In dUnzip2.
14 years ago (Willian Pedroso Neves)
Great class
14 years ago (Michael Clarke)
It was very easy to make it work for the first time.
14 years ago (Prado)
For more information send a message to info at phpclasses dot org.