PHP Classes

PHP Create ZIP File Folder: Create ZIP archive with the files of a directory

Recommend this page to a friend!
  Info   View files Example   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2023-05-23 (2 days ago) RSS 2.0 feedNot yet rated by the usersTotal: 536 This week: 5All time: 5,596 This week: 97Up
Version License PHP version Categories
zip-converter 1.6GNU General Publi...5.3PHP 5, Files and Folders, Compression


This class can create ZIP archive with the files of a directory.

It can list the files in one or more given folders and creates a ZIP archive with files in those folders.

The class can optionally traverse the specified folders recursively.

The resulting ZIP archive is stored in a file with a given path.


Convert the folder to ZIP
convert the folder to ".zip" format in php

Picture of Tariqul Islam
  Performance   Level  
Name: Tariqul Islam <contact>
Classes: 3 packages by
Country: Bangladesh Bangladesh
Age: 43
All time rank: 192527 in Bangladesh Bangladesh
Week rank: 30 Up1 in Bangladesh Bangladesh Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example Example File
Plain text file zipconverter.php Class Main Class File

 Version Control Unique User Downloads Download Rankings  
This week:5
All time:5,596
This week:97Up