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.
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.
How can I help you explore Laravel packages today?