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
Releases
latest 11-
3.3.011 Apr 2026Release notes
Open source →Fixed
- Some typing errors for PHPStan
- Some testing errors
Added
- Laravel 13 support
Removed
- Laravel 11 support
Release notes
Open source →Fixed
- Some typing errors for PHPStan
- Some testing errors
Added
- Laravel 13 support
Removed
- Laravel 11 support
-
3.2.108 Apr 2025 -
3.2.008 Apr 2025Release notes
Open source →Added
debugoption to the config so it logs the compression details (default false)
Release notes
Open source →Added
debugoption to the config so it logs the compression details (default false)
-
3.1.103 Apr 2025Release notes
Open source →Fixed
orderoption usingRESPONSE_COMPRESSION_ORDERwhen not set was not using the default behaviour of this package
Release notes
Open source →Fixed
orderoption usingRESPONSE_COMPRESSION_ORDERwhen not set was not using the default behaviour of this package
-
3.1.012 Mar 2025Release notes
Open source →Added
orderconfig property to have better control on the order of algorithm preference (e.g.RESPONSE_COMPRESSION_ORDER=ztsd,br,gzip)
Release notes
Open source →Added
orderconfig property to have better control on the order of algorithm preference (e.g.RESPONSE_COMPRESSION_ORDER=ztsd,br,gzip)
-
3.0.005 Mar 2025Release notes
Open source →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 allOpenSoutheners\LaravelVaporResponseCompressiontoOpenSoutheners\LaravelResponseCompression - Config file with
*_LEVELenvironment variables for each algorithm compression level, force publishing usingphp artisan vendor:publish --tag="response-compression" --force CompressionEncodingis 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)
Release notes
Open source →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 allOpenSoutheners\LaravelVaporResponseCompressiontoOpenSoutheners\LaravelResponseCompression - Config file with
*_LEVELenvironment variables for each algorithm compression level, force publishing usingphp artisan vendor:publish --tag="response-compression" --force CompressionEncodingis 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)
-
2.2.017 Feb 2025 -
2.1.014 Feb 2024Release notes
Open source →Changed
- Ignore
response()->stream(),response()->streamDownload()andresponse()->streamDownload()responses as files might be already compressed. [#2] - Ignore compression when
Content-Encodingheader already present. [#2]
- Ignore
-
2.0.102 Feb 2023 -
2.0.025 Aug 2022Release notes
Open source →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
Release notes
Open source →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
- Enable option following its environment variable
-
1.0.022 Jul 2022