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(3y ago)9280.9k↑11.5%1MITPHP

Since Aug 7Pushed 3y ago1 watchersCompare

[ Source](https://github.com/cyberdummy/gzstream)[ Packagist](https://packagist.org/packages/cyberdummy/gzstream)[ RSS](/packages/cyberdummy-gzstream/feed)WikiDiscussions master Synced 1mo 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 86% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity40

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

1424d 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

[league/uri-interfaces

Common tools for parsing and resolving RFC3987/RFC3986 URI

536204.9M23](/packages/league-uri-interfaces)[shopify/shopify-api

Shopify API Library for PHP

4634.8M16](/packages/shopify-shopify-api)[php-heroku-client/php-heroku-client

A PHP client for the Heroku Platform API

24404.8k4](/packages/php-heroku-client-php-heroku-client)[phpro/http-tools

HTTP tools for developing more consistent HTTP implementations.

28137.8k](/packages/phpro-http-tools)[huaweicloud/huaweicloud-sdk-php

Huawei Cloud SDK for PHP

1829.2k2](/packages/huaweicloud-huaweicloud-sdk-php)[mezzio/mezzio-authentication

Authentication middleware for Mezzio and PSR-7 applications

121.6M26](/packages/mezzio-mezzio-authentication)

PHPackages © 2026

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