Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Laravel Compress Html

Laravel Compress Html Laravel Package

akankov/laravel-compress-html

Laravel middleware that minifies HTML responses on the fly, removing whitespace, comments, and redundant markup to shrink page size and speed up delivery with zero template changes.

View on GitHub
Deep Wiki
Context7

akankov/laravel-compress-html is a lightweight Laravel package that automatically minifies HTML responses before they reach the browser. It works as middleware, stripping unnecessary whitespace, comments, and redundant markup from your output—reducing page size and improving load times with minimal configuration.

Ideal for production environments, it integrates seamlessly into any Laravel app without altering your views or templates.

  • Automatic minification of rendered HTML responses
  • Whitespace & comment removal for smaller payloads
  • Middleware-based integration—no view changes needed
  • Configurable to skip specific routes or environments
  • Zero dependencies beyond Laravel itself
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core