elibyy / zip
a simple and powerful zip manipulation library
Installs: 9 032
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 2
Open Issues: 0
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 auto-updated.
Last update: 2024-12-18 03:17:51 UTC
README
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 !