PHPackages                             cyberdummy/gzstream - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. cyberdummy/gzstream

ActiveLibrary[HTTP &amp; Networking](/categories/http)

cyberdummy/gzstream
===================

Provide gzip file streams for guzzle and s3

1.0.0(4y ago)10290.9k↓38.9%1MITPHP

Since Aug 7Pushed 4y ago1 watchersCompare

[ Source](https://github.com/cyberdummy/gzstream)[ Packagist](https://packagist.org/packages/cyberdummy/gzstream)[ RSS](/packages/cyberdummy-gzstream/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (4)Dependencies (5)Versions (6)Used By (0)

GzStreams for PHP
=================

[](#gzstreams-for-php)

Provides additional stream wrappers for guzzle and S3 streams so you can read and write gzip files.

Installation with Composer
--------------------------

[](#installation-with-composer)

```
composer require cyberdummy/gzstream
```

Usage
-----

[](#usage)

Usage in guzzle, wrap the body stream in the new decorator.

```
use Cyberdummy\GzStream\GzStreamGuzzle;

$newBodyStream = new GzStreamGuzzle($psr7BodyStream);
```

Usage with S3 stream wrapper.

```
use Cyberdummy\GzStream\GzS3Wrapper;

$s3Client = new Aws\S3\S3Client([
    'version'     => 'latest'
]);

# Register the wrapper as "s3gz"
GzS3Wrapper::register($s3Client, 's3gz');

# Stream a read
$stream = fopen('s3gz://somebucket/somegzippedfile.txt.gz', 'r');
$line = fgets($stream, 1024);

# Stream a write
$stream = fopen('s3gz://somebucket/somegzippedfile.txt.gz', 'w');
fwrite($stream, "Something to compress");
fclose($stream);
```

###  Health Score

39

—

LowBetter than 84% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity41

Moderate usage in the ecosystem

Community10

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 90.9% 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

Every ~628 days

Total

5

Last Release

1471d ago

Major Versions

0.0.3 → 1.0.02022-06-24

### Community

Maintainers

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

---

Top Contributors

[![cyberdummy](https://avatars.githubusercontent.com/u/2327552?v=4)](https://github.com/cyberdummy "cyberdummy (10 commits)")[![ostrolucky](https://avatars.githubusercontent.com/u/496233?v=4)](https://github.com/ostrolucky "ostrolucky (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/cyberdummy-gzstream/health.svg)

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

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[guzzlehttp/psr7

PSR-7 message implementation that also provides common utility methods

8.0k1.1B4.0k](/packages/guzzlehttp-psr7)[algolia/algoliasearch-client-php

API powering the features of Algolia.

69735.1M159](/packages/algolia-algoliasearch-client-php)[gotenberg/gotenberg-php

A PHP client for interacting with Gotenberg, a developer-friendly API for converting numerous document formats into PDF files, and more!

3856.2M31](/packages/gotenberg-gotenberg-php)[oat-sa/tao-core

TAO core extension

66143.7k124](/packages/oat-sa-tao-core)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M572](/packages/shopware-core)

PHPackages © 2026

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