PHPackages                             ghislainphu/spress-gzip-static - 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. ghislainphu/spress-gzip-static

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

ghislainphu/spress-gzip-static
==============================

Creates a gzipped version of your Spress compiled files.

0.1.1(10y ago)031MITPHP

Since May 21Pushed 10y ago1 watchersCompare

[ Source](https://github.com/GhislainPhu/spress-gzip-static)[ Packagist](https://packagist.org/packages/ghislainphu/spress-gzip-static)[ RSS](/packages/ghislainphu-spress-gzip-static/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (1)Versions (3)Used By (0)

Spress Gzip Static
==================

[](#spress-gzip-static)

[![Spress 2 ready](https://camo.githubusercontent.com/79b536fea9b26f54bab281b7abb70f6e7659a2f658f26ad23be1fd32af07be20/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f537072657373253230322d72656164792d627269676874677265656e2e7376673f7374796c653d666c6174)](https://camo.githubusercontent.com/79b536fea9b26f54bab281b7abb70f6e7659a2f658f26ad23be1fd32af07be20/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f537072657373253230322d72656164792d627269676874677265656e2e7376673f7374796c653d666c6174)

[Spress](https://github.com/spress/Spress) plugin to create a gzipped version of your compiled files.

This plugin is intended to be used in conjunction with NGINX's [gzip\_static](http://nginx.org/en/docs/http/ngx_http_gzip_static_module.html) module.

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

[](#getting-started)

Run:

```
composer require ghislainphu/spress-gzip-static
```

Add these lines to your `config.yml`:

```
# Empty by default
gzip_static_extensions: [ html, css, js, xml, txt ]

# Excluded files (optional)
# gzip_static_exclude: [ rss.xml ]

# Compression Level (optional, default: -1)
# See: https://secure.php.net/manual/function.gzencode.php
# gzip_static_compression_level: 6
```

License
-------

[](#license)

This project is licensed under the MIT License.

See [LICENSE.md](https://github.com/GhislainPhu/spress-gzip-static/blob/master/LICENSE.md) for more informations.

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

3692d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/450791?v=4)[Ghislain Phu](/maintainers/GhislainPhu)[@GhislainPhu](https://github.com/GhislainPhu)

---

Top Contributors

[![GhislainPhu](https://avatars.githubusercontent.com/u/450791?v=4)](https://github.com/GhislainPhu "GhislainPhu (10 commits)")

---

Tags

plugingzipspress

### Embed Badge

![Health badge](/badges/ghislainphu-spress-gzip-static/health.svg)

```
[![Health](https://phpackages.com/badges/ghislainphu-spress-gzip-static/health.svg)](https://phpackages.com/packages/ghislainphu-spress-gzip-static)
```

###  Alternatives

[kartik-v/yii2-widget-fileinput

An enhanced FileInput widget for Bootstrap 3.x, 4.x &amp; 5.x with file preview, multiple selection, and more features (sub repo split from yii2-widgets)

2297.0M97](/packages/kartik-v-yii2-widget-fileinput)[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.

2791.7M7](/packages/wapmorgan-unified-archive)[deliciousbrains/wp-amazon-s3-and-cloudfront

Automatically copies media uploads to a storage provider's bucket for delivery. Optionally configure a CDN for even faster delivery.

312214.1k1](/packages/deliciousbrains-wp-amazon-s3-and-cloudfront)[spicyweb/craft-embedded-assets

Manage YouTube videos, Instagram photos and more as first class assets

170445.4k11](/packages/spicyweb-craft-embedded-assets)[raulfraile/distill

Smart compressed files extractor

224194.6k9](/packages/raulfraile-distill)[humanmade/network-media-library

Network Media Library provides a central media library that's shared across all sites on the Multisite network.

29644.9k](/packages/humanmade-network-media-library)

PHPackages © 2026

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