open-southeners/laravel-vapor-response-compression
Add gzip response compression to Laravel Vapor apps with a lightweight middleware. Compress eligible HTML, JSON, and API responses before they leave your Lambda functions, reducing payload size and improving load times without extra infrastructure. Simple to install and configure.
composer require at ^3.3. Before upgrading, check your app's Laravel version: 3.3.0 supports Laravel 12 and 13, and drops Laravel 11. On Laravel 11, pin to the latest 3.2.x instead.composer.json (require/conflict constraints) and README install section — this release is a support-matrix change, so confirm your laravel/framework and php constraints line up before running composer update.^3.2 and only move to ^3.3 after the framework upgrade lands. Use separate branches/PRs for "framework upgrade" and "package upgrade" so failures are attributable.composer update will fail with a constraint conflict rather than a friendly message. Read the constraint error before downgrading other packages — the fix is usually to pin this package to ^3.2, not to fight the resolver.php artisan config:clear, route:clear, view:clear, and composer dump-autoload before debugging anything, especially if the package ships a service provider or publishable config.composer.json, don't float. Use ^3.3 rather than * or a dev branch so a future major doesn't silently change your support matrix.3.3 → 3.4 bump can drop an older Laravel version without a major-version warning.How can I help you explore Laravel packages today?