Edit
 by gomathy - 10 years ago (2015-01-28)
convert the folder to ".zip" format in php
 | I need to create a ZIP archive from the files of a given folder.  | 
- 2 Clarification requests
 2. 
 by vishal turi - 10 years ago (2015-02-18) Reply
1. 
 by Md. Shahadat Hossain Khan Razon - 10 years ago (2015-02-16) Reply
can you please test following package as per my instruction for your need?
Ask clarification
3 Recommendations
This class can create and merge Zip archives split in parts.
It can create a ZIP archives adding files to them and split the resulting archive in multiple parts if they exceed a given size.
The class can also merge previously split ZIP archives, so it can extract the compressed files.
 |   by Everton da Rosa   package author   155 - 10 years ago (2015-02-17) Comment
 This class can create and merge Zip archives split in parts.  It can create a ZIP archives adding files to them and split the resulting archive in multiple parts if they exceed a given size.  The class can also merge previously split ZIP archives, so it can extract the compressed files.  | 
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.
 |   by Tariqul Islam   package author   180 - 10 years ago (2015-02-17) Comment
 This Package will help you to convert your folder into .zip format both in Linux and Windows Environment.  | 
Zip File: Create and extract ZIP archives in purely in PHP
This class can be used to create and extract ZIP archives.
It can add and list files and directories in a ZIP archive.
The class uses pure PHP code, so it does not use the PHP ZIP extension.
 |   by Md. Shahadat Hossain Khan Razon   80 - 10 years ago (2015-02-16) Comment
 this package may not serve you directly but you can add directory by iterate files inside directory by using glob or scandir function of php  |