Skip to content
This repository was archived by the owner on Oct 2, 2023. It is now read-only.

Latest commit

 

History

History
23 lines (16 loc) · 695 Bytes

File metadata and controls

23 lines (16 loc) · 695 Bytes

Zipper

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