2017 © Pedro Peláez
 

library compression

Library for the compression

image

digitaledgeit/compression

Library for the compression

  • Monday, March 14, 2016
  • by jameslnewell
  • Repository
  • 2 Watchers
  • 1 Stars
  • 179 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 6 Versions
  • 25 % Grown

The README.md

php-compression

High level classes for creating compressed archives in PHP., (*1)

Example

Add entries to an archive:, (*2)

$jar = new ZipArchive('test.zip');
$jar
    ->addFile($dir.'/package.json', 'package.json')
    ->addFolder($dir.'/scripts',    'scripts')
    ->close()
;

Iterate entries in an archive:, (*3)

    $zip = new ZipArchive('test.zip');
    foreach ($zip as $entry) {
        echo $entry->getName().PHP_EOL;
    }
    $zip->close();

Extract entries from an archive:, (*4)

$zip = new ZipArchive('test.zip');
$zip->extractTo('/tmp'); //all entries
$zip['package.json']->extractTo('/tmp/package.json'); //a single entry
$zip->close();

The Versions

14/03 2016

dev-master

9999999-dev http://www.digitaledgeit.com.au

Library for the compression

  Sources   Download

CC-BY-NC-ND-3.0

The Requires

 

The Development Requires

by James Newell

zip compression

14/03 2016

0.2.2

0.2.2.0 http://www.digitaledgeit.com.au

Library for the compression

  Sources   Download

CC-BY-NC-ND-3.0

The Requires

 

The Development Requires

by James Newell

zip compression

12/08 2015

0.2.1

0.2.1.0 http://www.digitaledgeit.com.au

Library for the compression

  Sources   Download

CC-BY-NC-ND-3.0

The Requires

 

The Development Requires

by James Newell

zip compression

30/10 2014

0.2.0

0.2.0.0 http://www.digitaledgeit.com.au

Library for the compression

  Sources   Download

CC-BY-NC-ND-3.0

The Requires

 

The Development Requires

by James Newell

zip compression

30/10 2014

0.1.1

0.1.1.0 http://www.digitaledgeit.com.au

Library for the compression

  Sources   Download

CC-BY-NC-ND-3.0

The Requires

 

The Development Requires

by James Newell

zip compression

21/11 2013

0.1.0

0.1.0.0 http://www.digitaledgeit.com.au

Library for the compression

  Sources   Download

CC-BY-NC-ND-3.0

The Requires

 

The Development Requires

by James Newell

zip compression