PHPackages                             raulfraile/distill-cli - 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. [CLI &amp; Console](/categories/cli)
4. /
5. raulfraile/distill-cli

ActiveLibrary[CLI &amp; Console](/categories/cli)

raulfraile/distill-cli
======================

Command line tool to extract files from compressed archives

v0.1(11y ago)418MITPHPPHP &gt;=5.4.0

Since Sep 1Pushed 11y ago1 watchersCompare

[ Source](https://github.com/raulfraile/distill-cli)[ Packagist](https://packagist.org/packages/raulfraile/distill-cli)[ RSS](/packages/raulfraile-distill-cli/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

distill-cli: Command line tool to extract files from compressed archives
========================================================================

[](#distill-cli-command-line-tool-to-extract-files-from-compressed-archives)

[![Build Status](https://camo.githubusercontent.com/e0496d7da0bf72a0d7556f765518754a990235952964fc17f43afafb82db8c0b/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f7261756c667261696c652f64697374696c6c2d636c692e706e67)](http://travis-ci.org/raulfraile/distill-cli)[![Latest Stable Version](https://camo.githubusercontent.com/9798f18e1cfc984036891d573b01d29fed2604f93a2de56a0bb9eabb3961de29/68747470733a2f2f706f7365722e707567782e6f72672f7261756c667261696c652f64697374696c6c2d636c692f762f737461626c652e706e67)](https://packagist.org/packages/raulfraile/distill-cli)[![Total Downloads](https://camo.githubusercontent.com/d06159d42616e8ef3811874c6add85e79e714c5d5325193f68462ba3303f9bcd/68747470733a2f2f706f7365722e707567782e6f72672f7261756c667261696c652f64697374696c6c2d636c692f646f776e6c6f6164732e706e67)](https://packagist.org/packages/raulfraile/distill-cli)[![Latest Unstable Version](https://camo.githubusercontent.com/f1bf7bd09d05bc9bc57f4bae2e5ec4e6d6d98e62c4d59407ab2221154487fc42/68747470733a2f2f706f7365722e707567782e6f72672f7261756c667261696c652f64697374696c6c2d636c692f762f756e737461626c652e706e67)](https://packagist.org/packages/raulfraile/distill-cli)

`distill-cli` is a command line tool to extract files from compressed archives. It relies on the [raulfraile/distill](https://github.com/raulfraile/distill)library to extract files from `bz2`, `gz`, `phar`, `rar`, `tar`, `tar.bz2`, `tar.gz`, `tar.xz`, `7z`, `xz`and `zip` archives.

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

[](#installation)

### Locally

[](#locally)

Download the [distill-cli.phar](https://github.com/raulfraile/distill-cli/raw/master/bin/distill-cli.phar) file and store it somewhere on your computer.

### Globally (manual)

[](#globally-manual)

You can run these commands to easily access distill-cli from anywhere on your system:

```
$ sudo wget https://raw.githubusercontent.com/raulfraile/distill-cli/master/bin/distill-cli.phar -O /usr/local/bin/distill-cli

```

or with curl:

```
$ sudo curl https://raw.githubusercontent.com/raulfraile/distill-cli/master/bin/distill-cli.phar -o /usr/local/bin/distill-cli

```

then:

```
$ sudo chmod a+x /usr/local/bin/distill-cli

```

Then, just run `distill-cli`.

### Globally (Composer)

[](#globally-composer)

To install `distill-cli`, install Composer and issue the following command:

```
$ ./composer.phar global require raulfraile/distill-cli @stable

```

Then, make sure you have ~/.composer/vendor/bin in your PATH, and you're good to go:

export PATH="$PATH:$HOME/.composer/vendor/bin"

Usage
-----

[](#usage)

```
$ distill-cli command file [target]

```

Example:

```
$ distill-cli extract archive.tar.gz path/

```

Credits
-------

[](#credits)

- Raul Fraile ([@raulfraile](https://twitter.com/raulfraile))
- [All contributors](https://github.com/raulfraile/distill-cli/contributors)

License
-------

[](#license)

`distill-cli` is released under the MIT License. See the bundled LICENSE file for details.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

4268d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2bcd01016c2803c00217ef46398e0467893e4c04f5d054ac579d6723568a0677?d=identicon)[raulfraile](/maintainers/raulfraile)

---

Top Contributors

[![raulfraile](https://avatars.githubusercontent.com/u/595160?v=4)](https://github.com/raulfraile "raulfraile (17 commits)")

---

Tags

pharcompressionzipextractorbzipgziprarbzip27ziptar.gzxztar.xz

### Embed Badge

![Health badge](/badges/raulfraile-distill-cli/health.svg)

```
[![Health](https://phpackages.com/badges/raulfraile-distill-cli/health.svg)](https://phpackages.com/packages/raulfraile-distill-cli)
```

###  Alternatives

[raulfraile/distill

Smart compressed files extractor

228190.4k9](/packages/raulfraile-distill)[wapmorgan/unified-archive

UnifiedArchive - an archive manager with unified interface of working with all popular archive formats (zip/7z/rar/gz/bz2/xz/cab/tar/tar.gz/tar.bz2/tar.x/tar.Z/...) for PHP with ability for listing, reading, extracting and creation + built-in console archive manager.

2791.6M7](/packages/wapmorgan-unified-archive)[alchemy/zippy

Zippy, the archive manager companion

47522.6M51](/packages/alchemy-zippy)[mmoreram/extractor

Extractor project for php

21132.0k8](/packages/mmoreram-extractor)[kiwilan/php-archive

PHP package to handle archives (.zip, .rar, .tar, .7z, .pdf) with unified API and hybrid solution (native/p7zip), designed to works with EPUB and CBA (.cbz, .cbr, .cb7, .cbt).

1027.6k1](/packages/kiwilan-php-archive)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
