2017 © Pedro PelĂĄez
 

library hydrogen-zipper

class to work with .zip files

image

dilawsky/hydrogen-zipper

class to work with .zip files

  • Tuesday, July 18, 2017
  • by DilawskyJordan
  • Repository
  • 2 Watchers
  • 2 Stars
  • 8 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

hydrogen-zipper

Zipper class to work with .zip files, (*1)

How to use :

```php <?php require "vendor/autoload.php"; use Zipper\Classes\Zip;, (*2)

$zip = new Zip; $zip->make("file.zip")->add("onefile.jpg"); // zip one file $zip->make("file.zip")->add(["onefile.jpg","two.jpg"]); // zip multi files $zip->make("file.zip")->add("/file"); // zip only files in folder, (*3)

$zip->extract(“file.zip”)->to("/files"); // extract file.zip to /files $zip->extract(“file.zip”)->only(["home.jpg","index.jpg"])->to("/files"); // extract onlye mutli files from file.zip to /files, (*4)

The Versions

18/07 2017

dev-master

9999999-dev

class to work with .zip files

  Sources   Download

MIT

by Avatar waliddz