d9magai / phparchive
0.0.2
2014-08-19 08:48 UTC
This package is auto-updated.
Last update: 2025-01-29 04:04:49 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.