PHPackages                             crucifyer/phptar - 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. crucifyer/phptar

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

crucifyer/phptar
================

tar compress gzip, bzip2 file and http stream download

34PHP

Since Apr 10Pushed 2y ago1 watchersCompare

[ Source](https://github.com/crucifyer/phptar)[ Packagist](https://packagist.org/packages/crucifyer/phptar)[ RSS](/packages/crucifyer-phptar/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

php tar compress gzip, bzip2 file and http stream download
==========================================================

[](#php-tar-compress-gzip-bzip2-file-and-http-stream-download)

```
$ php composer.phar require "crucifyer/phptar" "dev-main"
```

```
$xtar = new \Xeno\Compress\Tar();
$xtar->addFile('../dir/file.jpg');
$xtar->addFile('file.html', 'public_html/index.html');
$xtar->addFile('../dir/file.js', 'public_html/script.js');
$xtar->addString('string contents', 'string.txt');

// file
$xtar->save('test.tar.bz2');

// stream
$xtar->stream('test.tar.bz2'); // browser realtime compress download
exit;

// unicode filename stream
// url /down/load/example.php/1234/한국어파일명.tar.bz2
// $_SERVER["PATH_INFO"] is /1234/한국어파일명.tar.bz2
$xtar->stream(null, \Xeno\Compress\Tar::BZ);
```

###  Health Score

14

—

LowBetter than 1% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity19

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/63a41dd6bd6505e111344d4fa8ff1b62cdd0da2be3433adbdc4d7bcda1e63a82?d=identicon)[xenoside](/maintainers/xenoside)

---

Top Contributors

[![crucifyer](https://avatars.githubusercontent.com/u/1300668?v=4)](https://github.com/crucifyer "crucifyer (13 commits)")

---

Tags

compress-streamcompression-libraryphp-library

### Embed Badge

![Health badge](/badges/crucifyer-phptar/health.svg)

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

PHPackages © 2026

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