d9magai/phparchive

Maintainers

Package info

github.com/d9magai/PHPArchive

pkg:composer/d9magai/phparchive

Statistics

Installs: 252

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

0.0.2 2014-08-19 08:48 UTC

This package is auto-updated.

Last update: 2026-03-01 00:20:34 UTC


README

Wrapper of ZipArchive class.

API Example

use D9magai\Zip\TmpArchive;

// create TmpArchive
$tmpArchive = TmpArchive(new \ZipArchive(), __DIR__ . '/tmp');
// add file to tmpArchive
$tmpArchive->addFile($filePath);
// saving tmpArchive
$tmpArchive->save();
// get tmpArchive path
$zipPath = $tmpArchive->getPath();

##License

This project is licensed under the MIT license.