Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Releases: Ne-Lexa/php-zip

4.0.1

Choose a tag to compare

@Ne-Lexa Ne-Lexa released this 12 Dec 10:04

Updated third-party dependencies (to support Symfony 6) and added tests on php 8.1.

4.0.0

Choose a tag to compare

@Ne-Lexa Ne-Lexa released this 24 Feb 13:33
  • Dropped PHP 5.5, 5.6, 7.1, 7.2 and 7.3 support.
  • Added PHP 8.0 support.
  • Declare strict types.
  • Dropped mcrypt support.
  • Added \PhpZip\ZipFile::outputAsSymfonyResponse method
  • \PhpZip\ZipFile::outputAsResponse method is declared deprecated and must be replaced by \PhpZip\ZipFile::outputAsPsr7Response.
  • [BC break] dropped zipalign support. It will be moved to the nelexa/apkfile package.
  • [BC break] removed deprecated interface \PhpZip\ZipFileInterface.
  • [BC break] removed deprecated class \PhpZip\Model\ZipInfo.
  • [BC break] removed deprecated methods \PhpZip\ZipFile::getEntryInfo, \PhpZip\ZipFile::getAllInfo, \PhpZip\ZipFile::setZipAlign, etc.
  • CI builds moved from Travis to Github Actions.
  • Added static analysis of psalm.

3.3.3

Choose a tag to compare

@Ne-Lexa Ne-Lexa released this 11 Jul 21:10
  • Improved Windows compatibility #54
  • LICENSE file added

3.3.2

Choose a tag to compare

@Ne-Lexa Ne-Lexa released this 22 Jun 15:21

Fixed #58. Virgula a mais nas linhas 85 e 95 no arquivo /.phpstorm.meta.php

3.3.0

Choose a tag to compare

@Ne-Lexa Ne-Lexa released this 04 Feb 09:16
  • Zip entries remain unchanged when writing to class ZipWriter.
  • You can override ZipContainer to implement your logic to support a zip-compatible format (for example, APK or EPUB).
  • Signature of ZipFile::extractTo() method changed. Added parameter &$extractEntries, which contains information about the extracted files.

3.2.0

Choose a tag to compare

@Ne-Lexa Ne-Lexa released this 09 Jan 14:57
  • Fixed memory leak.
  • Fixed ZIP64 (large zip files) problem.
  • Added new methods:
    • ZipFile::getEntry()
    • ZipFile::getEntries()
    • ZipFile::addSplFile()
    • ZipFile::addFromFinder()
  • New internal ZipReader and ZipWriter classes
  • Added .phpstorm.meta.php file for auto-completion in PhpStorm
  • ZipFileInterface and ZipInfo are deprecated

Fix #13
Fix #16
Fix #27
Fix #31
Fix #41

3.1.2

Choose a tag to compare

@Ne-Lexa Ne-Lexa released this 30 Dec 08:49
  • Changed the algorithm for adding paddings to zipalign.
    Now we will use the special field ExtraField c ID 0xD935,
    which was implemented by Google in the apksigner library.
    Now this field corresponds to the ZIP standard for storing
    ExtraField records, and not just filling with zero bytes,
    as in the zipalign console utility.

3.1.1

Choose a tag to compare

@Ne-Lexa Ne-Lexa released this 30 Dec 08:48
  • Fix resave zip aligned archive

3.1.0

Choose a tag to compare

@Ne-Lexa Ne-Lexa released this 30 Dec 08:47
  • Added class ZipModel for all changes.
  • All manipulations with incoming and outgoing streams are in separate files: ZipInputStream and ZipOutputStream.
  • Removed class CentralDirectory.
  • Optimized extra fields classes.
  • Fixed issue #4 (count() returns 0 when files are added in directories).
  • Implemented issue #8 - support inline Content-Disposition and empty output filename.
  • Optimized and tested on a php 32-bit platform (issue #5).
  • Added output as PSR-7 Response.
  • Added methods for canceling changes.
  • Added russian documentation.
  • Updated documentation.
  • Declared deprecated methods:
    • rename ZipFile::withReadPassword to ZipFile::setReadPassword
    • rename ZipFile::withNewPassword to ZipFile::setPassword
    • rename ZipFile::withoutPassword to ZipFile::disableEncryption

3.0.3

Choose a tag to compare

@Ne-Lexa Ne-Lexa released this 30 Dec 08:47

Fix bug issue #8 - Error if the file is empty.

Morty Proxy This is a proxified and sanitized view of the page, visit original site.