elibyy/zip

There is no license information available for the latest version (1.0) of this package.

a simple and powerful zip manipulation library

1.0 2017-04-10 08:55 UTC

This package is auto-updated.

Last update: 2024-04-18 01:41:40 UTC


README

Build Status Docs

This is no longer maintained.

Elibyy Zip

A Object-Oriented PHP library to manipulate archives

Adapters

this library currently supports

  • zip
  • PHP zip
  • Phar
  • TAR
  • BZIP2
  • GZ

which is the following extensions

  • .zip
  • .phar
  • .tar
  • .bz2
  • .gz

API Example

 use Elibyy\Reader
 $reader = new Reader('/path/to/file.zip');
 $reader->getFiles(); #will return File[]
 $reader->addFile('/path/to/file.txt','my/inner/path/file.txt'); #will add a file to the archive with path my/inner/path
 $reader->removeFileByName('file.txt');

Documentation hosted at read the docs !