Skip to content

An object-oriented PHP library to manipulate zip archives (fork of elibyy/Zip)

License

Notifications You must be signed in to change notification settings

Ticketpark/elibyy-zip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Docs

This is a fork of https://github.com/elibyy/Zip which was unexpectedly deleted and abandoned without any prior notice.

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 (fork of elibyy/Zip)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages