Registry / utility / splitbrain-php-archive

splitbrain-php-archive

JSON →
library1.4.2phppackagistunverified

Pure-PHP implementation to read and write TAR and ZIP archives

composer require splitbrain/php-archive
INSTALL
IMPORT
SIG · SPLITBRAIN-PHP-ARC
S
splitbrain-php-archive
utilityphpv1.4.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Zip
use splitbrain\PHPArchive\Zip;

Open a ZIP archive and extract its contents.

use splitbrain\PHPArchive\Zip; $zip = new Zip(); $zip->open('archive.zip'); $zip->extract('/extract/path');
Debug
Known issues
gotchaLarge archives may exhaust memory without streaming
fix
Use extractTo() with a callback for streaming extraction
affects: <1.4
Upgrade
Version history
1.4.2latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
12
Resources
splitbrain-php-archive — pip install splitbrain-php-archive · libregistry