/auto-zip-php

auto zip all file and folder using single php file

Primary LanguagePHP

Auto zip all files and folders

The directory of this project is as below:

├── folder1
|   ├── folder1_file1.txt
|   └── folder_1_file2.txt
├── folder2
|   ├── folder2_file1.txt
|   └── folder2_file2.txt
├── .gitignore
├── file1.txt
├── file2.txt
├── index.php
└── readme.MD

All files and folders will be included in 1 zip file with directory tree like that too :)

Project setup

git clone https://github.com/rijalBinHusen/auto-zip-php.git

Enter to project directory

cd auto-zip-php

Run the index.php via terimal

php index.php

All files and folder will be zipped as filename Ready_to_deploy.zip