Skip to content

v2.3.0

Latest
Compare
Choose a tag to compare
@ewilan-riviere ewilan-riviere released this 20 Mar 12:57
· 9 commits to main since this release
0d868c1
  • Add password option for ZIP, RAR and 7z files, using read(string $path, ?string $password = null) and readFromString(string $contents, ?string $password = null, ?string $extension = null) methods.
  • Add new Archive::class method readFromString(string $contents, ?string $password = null, ?string $extension = null) to read an archive from a string
  • When you read RAR or 7z archives with p7zip binary, you can set manually the path to the binary using overrideBinaryPath(string $path) method.
  • getFiles() method is now deprecated. Use getFileItems() instead.
  • New method getFileItem(string $path) to get a single file item.