per-seo/gzip

Gzip compression for Slim 4

Installs: 84

Dependents: 2

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/per-seo/gzip

1.0.1 2025-08-01 15:31 UTC

This package is auto-updated.

Last update: 2025-10-01 15:46:45 UTC


README

A simple middleware for Slim4 framework that add GZIP compression to the output. Usage is very simple, just enable this Middleware (in the Middleware part of your Slim4 Project) with:

<?php

use PerSeo\Middleware\GZIP\GZIP;

$app->add(GZIP::class);

After this, your Slim 4 project returns a GZIP compressed page if browser support it.