shadesoft / zipper
Makes a zip archive from the content of a directory.
Fund package maintenance!
Ko Fi
www.buymeacoffee.com/ShadeSoft
www.paypal.me/ShadeSoft
Installs: 49
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
Type:package
Requires
- php: >=5.3
- ext-zip: *
This package is auto-updated.
Last update: 2023-10-02 20:19:20 UTC
README
Makes a zip archive from the content of a directory.
Installation
Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:
$ composer require shadesoft/zipper
This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.
Usage
\ShadeSoft\Zipper\Zipper::zip('/path/to/directory', '/path/to/zip/file'); \ShadeSoft\Zipper\Zipper::zip('/path/to/directory', '/path/to/zip/file', 'CP852'); // file names in zip file will be converted to East-European