PHPackages                             cleentfaar/pharly - 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. [File &amp; Storage](/categories/file-storage)
4. /
5. cleentfaar/pharly

AbandonedLibrary[File &amp; Storage](/categories/file-storage)

cleentfaar/pharly
=================

A PHP library for the archiving and extraction of files and directories in .zip, .tar, .tar.gz, and .tar.bz2 formats.

115PHP

Since Jul 13Pushed 11y ago2 watchersCompare

[ Source](https://github.com/cleentfaar/pharly)[ Packagist](https://packagist.org/packages/cleentfaar/pharly)[ RSS](/packages/cleentfaar-pharly/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Pharly
======

[](#pharly)

A PHP library for the archiving and extraction of files and directories in `.zip`, `.tar`, `.tar.gz`, and `.tar.bz2` formats.

[![Build Status](https://camo.githubusercontent.com/de1796f466c0da2c2b9733899eeb7e4c91c3c9e7f0addafd3b220c64e011035d/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f636c65656e74666161722f706861726c792e7376673f6272616e63683d6d6173746572)](http://travis-ci.org/cleentfaar/pharly)[![Latest Stable Version](https://camo.githubusercontent.com/051dc70727ea4a83ff23b0bff3228e201d6c60b223eccf07b6bf2488a4aa32cd/68747470733a2f2f706f7365722e707567782e6f72672f636c65656e74666161722f706861726c792f762f737461626c652e737667)](https://packagist.org/packages/cleentfaar/pharly)[![Latest Unstable Version](https://camo.githubusercontent.com/0ce8535909d88f3f170bcee4d6c988b7107e35265f98f0cbb544f7465568424b/68747470733a2f2f706f7365722e707567782e6f72672f636c65656e74666161722f706861726c792f762f756e737461626c652e737667)](https://packagist.org/packages/cleentfaar/pharly)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/2b25acd9ac96e6d0a827a1429e9cebd18fc43b7906f90ac80f2f0a0159ba8fd6/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f636c65656e74666161722f706861726c792f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/cleentfaar/pharly/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/7b8be1cb3aa88b8756e3acd36d23bfe4a78de67d0d0311e1435c867f02183359/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f636c65656e74666161722f706861726c792f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/cleentfaar/pharly/?branch=master)
[![SensioLabsInsight](https://camo.githubusercontent.com/da745497b9d942f061c74f6d79a8fbd760e25d80a363b7a9878e3e98195d2897/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f61666166393439622d656135342d343462302d613262342d6264613165663731393065612f6d696e692e706e67)](https://insight.sensiolabs.com/projects/afaf949b-ea54-44b0-a2b4-bda1ef7190ea)[![Total Downloads](https://camo.githubusercontent.com/8c8f23a844273ab01bffb0c37e20f886484894cef379e9336ea8d021db0ea773/68747470733a2f2f706f7365722e707567782e6f72672f636c65656e74666161722f706861726c792f646f776e6c6f6164732e737667)](https://packagist.org/packages/cleentfaar/pharly) [![License](https://camo.githubusercontent.com/0c7b89ec12e2d14fe64780f9c890c0e069085b57f6a580b1288117d554867daa/68747470733a2f2f706f7365722e707567782e6f72672f636c65656e74666161722f706861726c792f6c6963656e73652e737667)](https://packagist.org/packages/cleentfaar/pharly)

### Documentation

[](#documentation)

- [Installation](Resources/doc/installation.md)
- [Usage examples](Resources/doc/usage.md)

### Pharly?

[](#pharly-1)

The name for this library has been derived from the [PHAR extension](http://pecl.php.net/package/phar) that has been built-in with PHP since `5.2.0`. Pharly heavily relies on PHAR's file-abstractions for it's archiving and extraction routines, which it in turn uses from the [PHP\_Archive package](http://pear.php.net/package/PHP_Archive).

### Thanks to

[](#thanks-to)

**PHAR authors**: [Steph Fox](http://pecl.php.net/user/sfox) (developer), [Greg Beaver](http://pecl.php.net/user/cellog) (lead) and [Marcus Börger](http://pecl.php.net/user/helly) (lead)

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/14099cff9bb1840056d71facc7d248129646a0048ac348ba68648a1aa128f099?d=identicon)[cleentfaar](/maintainers/cleentfaar)

### Embed Badge

![Health badge](/badges/cleentfaar-pharly/health.svg)

```
[![Health](https://phpackages.com/badges/cleentfaar-pharly/health.svg)](https://phpackages.com/packages/cleentfaar-pharly)
```

###  Alternatives

[knplabs/gaufrette

PHP library that provides a filesystem abstraction layer

2.5k39.8M123](/packages/knplabs-gaufrette)[google/cloud-storage

Cloud Storage Client for PHP

34390.8M125](/packages/google-cloud-storage)[illuminate/filesystem

The Illuminate Filesystem package.

15261.6M2.6k](/packages/illuminate-filesystem)[superbalist/flysystem-google-storage

Flysystem adapter for Google Cloud Storage

26320.6M30](/packages/superbalist-flysystem-google-storage)[creocoder/yii2-flysystem

The flysystem extension for the Yii framework

2931.7M62](/packages/creocoder-yii2-flysystem)[flowjs/flow-php-server

PHP library for handling chunk uploads. Works with flow.js html5 file uploads.

2451.6M15](/packages/flowjs-flow-php-server)

PHPackages © 2026

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