PHPackages                             deepdiver1975/tarstreamer - 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. deepdiver1975/tarstreamer

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

deepdiver1975/tarstreamer
=========================

A library for dynamically streaming dynamic tar files without the need to have the complete file stored on the server.

v2.1.0(3y ago)0767.6k↑2834.5%1MITPHPPHP &gt;=7.1CI passing

Since Sep 25Pushed 1w ago59 watchersCompare

[ Source](https://github.com/owncloud/TarStreamer)[ Packagist](https://packagist.org/packages/deepdiver1975/tarstreamer)[ Docs](https://github.com/owncloud/TarStreamer)[ RSS](/packages/deepdiver1975-tarstreamer/feed)WikiDiscussions master Synced yesterday

READMEChangelog (8)Dependencies (4)Versions (16)Used By (0)

TarStreamer
===========

[](#tarstreamer)

[![License](https://camo.githubusercontent.com/08cef40a9105b6526ca22088bc514fbfdbc9aac1ddbf8d4e6c750e3a88a44dca/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d626c75652e737667)](LICENSE) [![ownCloud OSPO](https://camo.githubusercontent.com/0d8322f08f58bc70b68c60a64b4d2e6c1edf9dffef2f52e671134491453da84f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4f53504f2d6f776e436c6f75642d626c7565)](https://kiteworks.com/opensource) [![Docker Hub](https://camo.githubusercontent.com/a502213f4f421346357094410b3b27fd54e980e0879e897a188ef5c722ee0733/68747470733a2f2f696d672e736869656c64732e696f2f646f636b65722f70756c6c732f6f776e636c6f7564)](https://hub.docker.com/r/owncloud/server)

TarStreamer is a PHP library for streaming tar archives. It allows on-the-fly generation of tar files without requiring the entire archive to be held in memory, making it suitable for serving large file downloads from web applications. The library is used internally by ownCloud Server to support archive downloads.

Part of Classic (OC10)
----------------------

[](#part-of-classic-oc10)

TarStreamer is a supporting library used by [ownCloud Server (Classic)](https://github.com/owncloud/core) for streaming tar archive downloads. It is distributed as a Composer package and integrated into the ownCloud Server via its dependency chain.

This component is included in the [ownCloud Server Docker image](https://hub.docker.com/r/owncloud/server).

Getting Started
---------------

[](#getting-started)

Install via Composer:

```
composer require owncloud/tarstreamer
```

Documentation
-------------

[](#documentation)

- See the source code in `src/` for the API
- [ownCloud Server documentation](https://doc.owncloud.com)

Community &amp; Support
-----------------------

[](#community--support)

**[Star](https://github.com/owncloud/TarStreamer)** this repo and **Watch** for release notifications!

- [ownCloud Website](https://owncloud.com)
- [Community Discussions](https://github.com/orgs/owncloud/discussions)
- [Matrix Chat](https://app.element.io/#/room/#owncloud:matrix.org)
- [Documentation](https://doc.owncloud.com)
- [Enterprise Support](https://owncloud.com/contact-us/)
- [OSPO Home](https://kiteworks.com/opensource)

Contributing
------------

[](#contributing)

We welcome contributions! Please read the [Contributing Guidelines](CONTRIBUTING.md)and our [Code of Conduct](CODE_OF_CONDUCT.md) before getting started.

### Workflow

[](#workflow)

- **Rebase Early, Rebase Often!** We use a rebase workflow. Always rebase on the target branch before submitting a PR.
- **Dependabot**: Automated dependency updates are managed via Dependabot. Review and merge dependency PRs promptly.
- **Signed Commits**: All commits **must** be PGP/GPG signed. See [GitHub's signing guide](https://docs.github.com/en/authentication/managing-commit-signature-verification).
- **DCO Sign-off**: Every commit must carry a `Signed-off-by` line: ```
    git commit -s -S -m "your commit message"

    ```
- **GitHub Actions Policy**: Workflows may only use actions that are (a) owned by `owncloud`, (b) created by GitHub (`actions/*`), or (c) verified in the GitHub Marketplace.

Security
--------

[](#security)

**Do not open a public GitHub issue for security vulnerabilities.**

Report vulnerabilities at **** -- see [SECURITY.md](SECURITY.md).

Bug bounty: [YesWeHack ownCloud Program](https://yeswehack.com/programs/owncloud-bug-bounty-program)

License
-------

[](#license)

This project is licensed under the [MIT](LICENSE).

About the ownCloud OSPO
-----------------------

[](#about-the-owncloud-ospo)

The [Kiteworks Open Source Program Office](https://kiteworks.com/opensource), operating under the [ownCloud](https://owncloud.com) brand, launched on May 5, 2026, to steward the open source ecosystem around ownCloud's products. The OSPO ensures transparent governance, license compliance, community health, and sustainable collaboration between the open source community and [Kiteworks](https://www.kiteworks.com), which acquired ownCloud in 2023.

- **OSPO Home**:
- **GitHub**:
- **ownCloud**:

For questions about the OSPO or licensing, contact .

### License Migration to Apache 2.0

[](#license-migration-to-apache-20)

The OSPO is driving a strategic relicensing of ownCloud repositories toward the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0), following the [Apache Software Foundation's third-party license policy](https://www.apache.org/legal/resolved.html).

Individual repositories will migrate as their audit is completed. The LICENSE file in each repo reflects its **current** license status (not the target).

**Current license: MIT** (Category A per Apache policy -- permissive, compatible with Apache-2.0).

Migration prerequisites for this repository:

- **CLA/DCO coverage**: All past contributors must have signed agreements permitting relicensing
- **Header updates**: All source file headers must be updated from MIT to Apache-2.0 notice
- **Dependency audit**: Verify no incompatible transitive dependencies

###  Health Score

51

—

FairBetter than 95% of packages

Maintenance64

Regular maintenance activity

Popularity37

Limited adoption so far

Community25

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor3

3 contributors hold 50%+ of commits

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

Every ~403 days

Recently: every ~669 days

Total

8

Last Release

1113d ago

Major Versions

0.1.2 → 2.0.02020-01-08

PHP version history (2 changes)v0.1-beta1PHP &gt;=5.3.8

2.0.0PHP &gt;=7.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/d67e9033951a9f2f95737cee73f0f22346a84e4caca86283e811059265e2121b?d=identicon)[DeepDiver1975](/maintainers/DeepDiver1975)

---

Top Contributors

[![pablotron](https://avatars.githubusercontent.com/u/523681?v=4)](https://github.com/pablotron "pablotron (60 commits)")[![phil-davis](https://avatars.githubusercontent.com/u/1535615?v=4)](https://github.com/phil-davis "phil-davis (34 commits)")[![DeepDiver1975](https://avatars.githubusercontent.com/u/1005065?v=4)](https://github.com/DeepDiver1975 "DeepDiver1975 (33 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (14 commits)")[![ablyler](https://avatars.githubusercontent.com/u/137642?v=4)](https://github.com/ablyler "ablyler (10 commits)")[![johnmaguire](https://avatars.githubusercontent.com/u/440033?v=4)](https://github.com/johnmaguire "johnmaguire (10 commits)")[![rcorral](https://avatars.githubusercontent.com/u/843202?v=4)](https://github.com/rcorral "rcorral (7 commits)")[![VicDeo](https://avatars.githubusercontent.com/u/991300?v=4)](https://github.com/VicDeo "VicDeo (7 commits)")[![LukasReschke](https://avatars.githubusercontent.com/u/878997?v=4)](https://github.com/LukasReschke "LukasReschke (3 commits)")[![kw-lschwarz](https://avatars.githubusercontent.com/u/210700293?v=4)](https://github.com/kw-lschwarz "kw-lschwarz (2 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (2 commits)")[![shimeche](https://avatars.githubusercontent.com/u/1849666?v=4)](https://github.com/shimeche "shimeche (2 commits)")[![dj4oC](https://avatars.githubusercontent.com/u/115982880?v=4)](https://github.com/dj4oC "dj4oC (1 commits)")[![samsouder](https://avatars.githubusercontent.com/u/2642?v=4)](https://github.com/samsouder "samsouder (1 commits)")[![Ziyann](https://avatars.githubusercontent.com/u/5621658?v=4)](https://github.com/Ziyann "Ziyann (1 commits)")[![unixlab](https://avatars.githubusercontent.com/u/22573746?v=4)](https://github.com/unixlab "unixlab (1 commits)")[![nabim777](https://avatars.githubusercontent.com/u/61624650?v=4)](https://github.com/nabim777 "nabim777 (1 commits)")[![pjft](https://avatars.githubusercontent.com/u/22025709?v=4)](https://github.com/pjft "pjft (1 commits)")

---

Tags

streamphparchivetar

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/deepdiver1975-tarstreamer/health.svg)

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

###  Alternatives

[barracudanetworks/archivestream-php

A library for dynamically streaming dynamic tar or zip files without the need to have the complete file stored on the server.

77195.7k1](/packages/barracudanetworks-archivestream-php)[pear/archive_tar

Tar file management class with compression support (gzip, bzip2, lzma2)

7665.3M92](/packages/pear-archive-tar)[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.

2811.8M7](/packages/wapmorgan-unified-archive)[splitbrain/php-archive

Pure-PHP implementation to read and write TAR and ZIP archives

1121.5M25](/packages/splitbrain-php-archive)[phpzip/phpzip

Package to create and stream archives of compressed files in ZIP format with PHP 5.3+

124897.5k9](/packages/phpzip-phpzip)[jmathai/s3-bucket-stream-zip-php

PHP library to efficiently stream contents from an AWS S3 bucket or folder as a zip file

56114.9k](/packages/jmathai-s3-bucket-stream-zip-php)

PHPackages © 2026

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