Skip to content

elibyy/Zip

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 !

About

An object-oriented PHP library to manipulate zip archives

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%