PHP Classes

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    
Last Updated Ratings Unique User Downloads Download Rankings
2024-01-09 (4 days ago) RSS 2.0 feedNot yet rated by the usersTotal: 349 This week: 3All time: 6,990 This week: 154Up
Version License PHP version Categories
zippr 1.0.3MIT/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

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:349
This week:3
All time:6,990
This week:154Up