PackageTrack
Sign in Get early access

open-southeners/laravel-response-compression

Add server-side response compression with a range of different algorithms (Gzip, brotli, deflate...)

3.3.0 223K downloads/mo #3945 most downloaded on Packagist open-southeners/laravel-response-compression

What this package is like to depend on

Last release 4 months ago

11 Apr 2026

Release timing varies

gaps range from 2 weeks to 13 months

Nearly every release is documented

notes for 11 of 11 stable releases

Nothing withdrawn

no release was ever pulled

4 years old

11 releases · first in 2022

1 release in the last 12 months

see the full history below

Release timeline

11 releases · Jul 2022 to Apr 2026
2023 2024 2025 2026
Release Pre-release

Releases

latest 11
  1. 3.3.0 11 Apr 2026
    Release notes

    Fixed

    • Some typing errors for PHPStan
    • Some testing errors

    Added

    • Laravel 13 support

    Removed

    • Laravel 11 support
    Open source →
    Release notes

    Fixed

    • Some typing errors for PHPStan
    • Some testing errors

    Added

    • Laravel 13 support

    Removed

    • Laravel 11 support
    Open source →
  2. 3.2.1 08 Apr 2025
    Release notes

    Fixed

    • Compression algo pick with wrong array keys
    Open source →
    Release notes

    Fixed

    • Compression algo pick with wrong array keys
    Open source →
  3. 3.2.0 08 Apr 2025
    Release notes

    Added

    • debug option to the config so it logs the compression details (default false)
    Open source →
    Release notes

    Added

    • debug option to the config so it logs the compression details (default false)
    Open source →
  4. 3.1.1 03 Apr 2025
    Release notes

    Fixed

    • order option using RESPONSE_COMPRESSION_ORDER when not set was not using the default behaviour of this package
    Open source →
    Release notes

    Fixed

    • order option using RESPONSE_COMPRESSION_ORDER when not set was not using the default behaviour of this package
    Open source →
  5. 3.1.0 12 Mar 2025
    Release notes

    Added

    • order config property to have better control on the order of algorithm preference (e.g. RESPONSE_COMPRESSION_ORDER=ztsd,br,gzip)
    Open source →
    Release notes

    Added

    • order config property to have better control on the order of algorithm preference (e.g. RESPONSE_COMPRESSION_ORDER=ztsd,br,gzip)
    Open source →
  6. 3.0.0 05 Mar 2025
    Release notes

    Added

    • lz4 compression algorithm
    • Compression algorithm preference based on the ones sent from client (if supported by server)
    • Laravel dependencies

    Changed

    • Package rename to open-southeners/laravel-response-compression, change all OpenSoutheners\LaravelVaporResponseCompression to OpenSoutheners\LaravelResponseCompression
    • Config file with *_LEVEL environment variables for each algorithm compression level, force publishing using php artisan vendor:publish --tag="response-compression" --force
    • CompressionEncoding is now a backed enum instead with some functionality

    Removed

    • Laravel 9 and 10 support
    • PHP 7.4 and 8.0 support
    • Composer dependency for zlib PHP extension (not really required)
    Open source →
    Release notes

    Added

    • lz4 compression algorithm
    • Compression algorithm preference based on the ones sent from client (if supported by server)
    • Laravel dependencies

    Changed

    • Package rename to open-southeners/laravel-response-compression, change all OpenSoutheners\LaravelVaporResponseCompression to OpenSoutheners\LaravelResponseCompression
    • Config file with *_LEVEL environment variables for each algorithm compression level, force publishing using php artisan vendor:publish --tag="response-compression" --force
    • CompressionEncoding is now a backed enum instead with some functionality

    Removed

    • Laravel 9 and 10 support
    • PHP 7.4 and 8.0 support
    • Composer dependency for zlib PHP extension (not really required)
    Open source →
  7. 2.2.0 17 Feb 2025
    Release notes

    Added

    Open source →
    Release notes

    Added

    • zstd compression by @matthewnessworthy [#3]
    Open source →
  8. 2.1.0 14 Feb 2024
    Release notes

    Changed

    • Ignore response()->stream(), response()->streamDownload() and response()->streamDownload() responses as files might be already compressed. [#2]
    • Ignore compression when Content-Encoding header already present. [#2]
    Open source →
    Release notes

    Changed

    • Ignore response()->stream(), response()->streamDownload() and response()->streamDownload() responses as files might be already compressed. [#2]
    • Ignore compression when Content-Encoding header already present. [#2]
    Open source →
  9. 2.0.1 02 Feb 2023
    Release notes

    Fixed

    • PHP 8.2 interpolation deprecations
    Open source →
    Release notes

    Fixed

    • PHP 8.2 interpolation deprecations
    Open source →
  10. 2.0.0 25 Aug 2022
    Release notes

    Added

    • Enable option following its environment variable RESPONSE_COMPRESSION_ENABLE (default: true)

    Changed

    • Its dedicated config file (config/response-compression.php). Publishable by running the command: php artisan vendor:publish --tag=response-compression
    Open source →
    Release notes

    Added

    • Enable option following its environment variable RESPONSE_COMPRESSION_ENABLE (default: true)

    Changed

    • Its dedicated config file (config/response-compression.php). Publishable by running the command: php artisan vendor:publish --tag=response-compression
    Open source →
  11. 1.0.0 22 Jul 2022
    Release notes

    Added

    • Initial release!
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive