ticketpark / elibyy-zip
a simple and powerful zip manipulation library
Installs: 71 122
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 2
Open Issues: 1
Requires
- php: >=5.4.0
- ext-zip: *
Requires (Dev)
- ext-zip: *
- phpunit/phpunit: ~3.7
Suggests
- ext-zip: Some PHP versions do not include it by default
This package is not auto-updated.
Last update: 2024-11-10 04:01:50 UTC
README
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 !