Zippr: Create and extract ZIP files with the ZipArchive

Recommend this page to a friend!
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 333 All time: 7,028 This week: 372Up
Version License PHP version Categories
zippr 1.0.1MIT/X Consortium ...5.3.0Files and Folders
Description Author

This class can create and extract ZIP files with the ZipArchive.

It is a wrapper around the ZipArchive class to manipulate compressed archives in the ZIP format.

Currently it can create a new archive with a given name, add individual files or all files from a given directory to be traversed recursively, or extract all files from a ZIP archive into a given directory.

Picture of Barry
  Performance   Level  
Name: Barry <contact>
Classes: 1 package by
Country: The Netherlands The Netherlands
Age: 32
All time rank: 366290 in The Netherlands The Netherlands
Week rank: 719 Up15 in The Netherlands The Netherlands Up

Details

zippr

A PHP class for handeling zip files. The class abstracts the ZipArchive class.

Current support: - Add file to archive - Add directory to archive - Add comment to archive - Extract an archive

Complete documentation can be found at zippr.barrydekleijn.nl

UPDATED

Zip is now called Zippr and carries version number 1.0.

This major update has the following updates

  • PSR-0 standard for namespacing
  • Error handling using PHP Exception class
  • Bug fixes on addDir method
  • extractArchive has become a static function
  • Dependencies are checked in a seperate method

INSTALL

Add the next line to the require section in your composer.json file

"barry127/zippr": "1.*"
  Files folder image Files  
File Role Description
Files folder imagesrc (1 directory)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file README.md Data Documentation

  Files folder image Files  /  src  
File Role Description
Files folder imageBarry127 (1 directory)

  Files folder image Files  /  src  /  Barry127  
File Role Description
Files folder imageZippr (1 file)

  Files folder image Files  /  src  /  Barry127  /  Zippr  
File Role Description
  Plain text file Zippr.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:333
This week:0
All time:7,028
This week:372Up

For more information send a message to info at phpclasses dot org.