PHPackages                             gocobachi/compressy - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. gocobachi/compressy

ActiveLibrary

gocobachi/compressy
===================

Compressy, the archive manager companion a child of the Alchemy/Zippy

113PHP

Since Jan 20Pushed 5y agoCompare

[ Source](https://github.com/gocobachi/compressy)[ Packagist](https://packagist.org/packages/gocobachi/compressy)[ RSS](/packages/gocobachi-compressy/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (3)Used By (0)

Compressy
=========

[](#compressy)

[![License](https://camo.githubusercontent.com/9e51f65af68a8cc1f278b840370bd3d270247fbfd8d4773bee064afe374c05bf/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f676f636f62616368692f636f6d7072657373792e7376673f7374796c653d666c61742d737175617265)](https://github.com/gocobachi/compressy/blob/master/LICENSE)[![Packagist](https://camo.githubusercontent.com/5587b38de3b17672a64457def3cbfbe64b94f2ad12d91b9588e73265a70bf86b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f676f636f62616368692f636f6d7072657373792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/gocobachi/compressy)[![Travis](https://camo.githubusercontent.com/fb8361a1221e045de12f86e44e1da7276fcfc7bfaa002ac7f171d5a1237ca889/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f676f636f62616368692f636f6d7072657373792e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/gocobachi/compressy)[![Scrutinizer](https://camo.githubusercontent.com/629de10482bb87f4f84acfc924b390a36b1f8a65476cbc8e64691679c92b193e/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f676f636f62616368692f636f6d7072657373792e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/gocobachi/compressy/)[![Packagist](https://camo.githubusercontent.com/e07f8f1ef9cd3fa381823f57be739d960a33203c5762b2e6953bcd466415950a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f676f636f62616368692f636f6d7072657373792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/gocobachi/compressy/stats)

A PHP library to read, create, and extract archives in various formats via command line utilities or PHP extensions

Installation
------------

[](#installation)

The only supported installation method is via [Composer](https://getcomposer.org). Run the following command to require Compressy in your project:

```
composer require gocobachi/compressy

```

Adapters
--------

[](#adapters)

Compressy currently supports the following drivers and file formats:

- zip
    - .zip
- PHP zip extension
    - .zip
- GNU tar
    - .tar
    - .tar.gz
    - .tar.bz2
- BSD tar
    - .tar
    - .tar.gz
    - .tar.bz2

Getting started
---------------

[](#getting-started)

All the following code samples assume that Compressy is loaded and available as `$compressy`. You need the following code (or variation of) to load Compressy:

```
