unified-archive UnifiedArchive - unified interface to archive for listing, reading, extracting and creation.

  1. Installation
  2. Requirements
  3. Usage
  4. Resources
  5. Changelog
  6. Composer

If on your site there is a possibility of uploading of archives and you would like to add functionality of their automatic unpacking and viewing with no dependency on format of the archive, you can use this library.

Short description of UnifiedArchive library:

UnifiedArchive - unified interface to archive (zip # 7z # rar # gz # bz2 # xz # tar # tar.gz # tar.bz2 # tar.xz # tar.Z # iso-9660) for listing, reading, extracting and creation + built-in console packer and unpacker + fully implemented PclZip-like interface (create, listContent, extract, properties, add, delete, merge, duplicate).

Installation

>>> Installation instructions. <<<

Requirements

Supported archive types:

  1. rar RAR extension
  2. 7z gemorroj/archive7z
  3. zip ZIP extension
  4. gz ZLIB extension
  5. bz2 BZ2 extension
  6. xz XZ extension
  7. tar without and with compression. Compression methods:
    • gzip (.tar.gz) ZLIB extension
    • bzip(.tar.bz2) BZIP extension
    • lzma2 (.tar.xz) XZ extension
    • lzw (.tar.Z) ncompress
  8. iso-9660 phpclasses/php-iso-file

    Usage

    >>> RIGHT HERE. <<<

Resources

Changelog

0.0.6

Added:

  • Adding files in archive.
  • Deleting files from archive.

Fixed:

  • Fixed discovering 7z archive number of files and creating new archive.

    0.0.5

    Added:

  • Support for 7z (7zip) archives.

    0.0.4

    Added:

  • Support for single-file bz2 (bzip2) and xz (lzma2) archives.

    0.0.3

    Changed:

  • archive_tar is no longer a required package, now it is a suggestion.
    0.0.2
  • UnifiedArchive released under the MIT license.
    0.0.1

    first release

    Composer

    The preferred way to install this extension is through composer.

Either run: >> $ php composer.phar require wapmorgan/unified-archive "0.0.6"

or add:

>> "wapmorgan/unified-archive": "0.0.6"

to the require section of your composer.json file.

2 0
3 followers
542 downloads
Yii Version: 2.0
License: MIT
Category: File System
Developed by: wapmorgan
Created on: May 19, 2014
Last updated: 7 years ago

Downloads

show all

Related Extensions