PHP Classes

PHP JSON Archive: Create and extract file archives in JSON format

Recommend this page to a friend!
  Info   View files Documentation   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 58%Total: 346 All time: 7,011 This week: 156Up
Version License PHP version Categories
json-archive 1.0GNU Lesser Genera...5PHP 5, Files and Folders, Cryptography, C...


This class can create and extract file archives in JSON format.

It can compose an archive made of individual files or even whole directories.

The archived files are compressed and outputted in JSON format. Archive files may have comments and be protected with a password.

The class can also extract the files of previously compacted archives in the JSON format.

Innovation Award
PHP Programming Innovation award nominee
August 2015
Number 7
JSON has become a format for exchanging typed data structures even between applications written in other languages besides JavaScript.

This package takes advantage of the portability of the JSON format to create portable archives of compressed files that can be created and extracted by programs in any language that support the JSON format.

Manuel Lemos
Picture of Ore Richard Muyiwa
  Performance   Level  
Name: Ore Richard Muyiwa <contact>
Classes: 6 packages by
Country: Nigeria Nigeria
Age: 30
All time rank: 13164 in Nigeria Nigeria
Week rank: 373 Up7 in Nigeria Nigeria Down
Innovation award
Innovation award
Nominee: 3x



A file archive based on the JavaScript Object Notation

  1. High compression ratio.
  2. Simple and lightweight
  3. Support for JSON by many programming language gives it easy implementation and portability.
  4. Saves space consumed by files uploaded to your application.
  5. JSON can easily be manipulated by JavaScript making it serve as a server/client interface when purified.
  6. Serve as a server/client file transfer mechanism.
  7. Secure. JSON Archives can be secured with a password.
  8. Out-performs zip with large files and archive.


  1. Compress files.
  2. Decompress Archive.
  3. Rename and Delete files in archive.
  4. Moves files in archive by renaming them.
  5. Get details of files in archive.
  6. Get archive details.
  7. Return archive as JSON string.
  8. Secure archives.
  9. Set compression level between 1 and 9.
  10. Full directory compression.
  11. Add comments and author/owner details.
  Files folder image Files  
File Role Description
Accessible without login Plain text file Examples.txt Doc. Examples
Accessible without login Plain text file How-to-help Data How to help develop JSON Archive
Plain text file JSONArchive.php Class Main class file
Accessible without login Plain text file License.txt Lic. License file
Accessible without login Plain text file Data Read me

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:7,011
This week:156Up
User Ratings User Comments (1)
 All time