PHPackages                             thatobabusi/laravel-html-minify - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. thatobabusi/laravel-html-minify

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

thatobabusi/laravel-html-minify
===============================

laravel minify html output

126PHP

Since Nov 6Pushed 5y ago1 watchersCompare

[ Source](https://github.com/thatobabusi/laravel-html-minify)[ Packagist](https://packagist.org/packages/thatobabusi/laravel-html-minify)[ RSS](/packages/thatobabusi-laravel-html-minify/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel HTML Minifier
=====================

[](#laravel-html-minifier)

[![Latest Version on Packagist](https://camo.githubusercontent.com/60a6a54871d82d9111af207f429f2003c376d458a372644643727a9c15e49c77/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f64697065736873756b6869612f6c61726176656c2d68746d6c2d6d696e6966792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/dipeshsukhia/laravel-html-minify)[![Build Status](https://camo.githubusercontent.com/1a9a5c3e54b554da6494b752659eb80cdfec9163d3c9158ff1cbfef06e72d982/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f64697065736873756b6869612f6c61726176656c2d68746d6c2d6d696e6966792f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/dipeshsukhia/laravel-html-minify)[![Quality Score](https://camo.githubusercontent.com/6ed0a58db5ade9cd723a24e304f38a08cede17d6b638599708653310762a3f5b/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f64697065736873756b6869612f6c61726176656c2d68746d6c2d6d696e6966792e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/dipeshsukhia/laravel-html-minify)[![Total Downloads](https://camo.githubusercontent.com/1465ecc7e63eae185955ef87c7e1ccfe2d67f19a43b6015706e111bf2bb102bb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f64697065736873756b6869612f6c61726176656c2d68746d6c2d6d696e6966792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/dipeshsukhia/laravel-html-minify)

This package helps to minify your project`s html (blade file) output.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require thatobabusi/laravel-html-minify
```

Usage
-----

[](#usage)

```
php artisan vendor:publish --tag=LaravelHtmlMinify

you should add middleware to your web middleware group within your app/Http/Kernel.php file:
'LaravelMinifyHtml'

add in env
for enable
HTML_MINIFY = true
for disable
HTML_MINIFY = false
```

### Testing

[](#testing)

```
composer test
```

### Changelog

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Dipesh Sukhia](https://github.com/dipeshsukhia)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity31

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/e7e2f3e8d741b934f10633f03834a0b8ba5ad642f1ef56ed7dbe4408726bbd9c?d=identicon)[thatobabusi](/maintainers/thatobabusi)

---

Top Contributors

[![thatobabusi](https://avatars.githubusercontent.com/u/6802518?v=4)](https://github.com/thatobabusi "thatobabusi (1 commits)")

### Embed Badge

![Health badge](/badges/thatobabusi-laravel-html-minify/health.svg)

```
[![Health](https://phpackages.com/badges/thatobabusi-laravel-html-minify/health.svg)](https://phpackages.com/packages/thatobabusi-laravel-html-minify)
```

###  Alternatives

[imdbphp/imdbphp

Library for retrieving film and tv information from IMDb

27280.6k2](/packages/imdbphp-imdbphp)[stevebauman/unfinalize

Permanently remove final keywords from vendor packages.

14423.1k](/packages/stevebauman-unfinalize)[robertogallea/laravel-python

Run python scripts inside Laravel app

7443.8k](/packages/robertogallea-laravel-python)[mateffy/pan-analytics-viewer

View your analytics directly where you collect them.

7310.2k](/packages/mateffy-pan-analytics-viewer)[bhuvidya/laravel-countries

Laravel Countries is a bundle for Laravel, providing Almost ISO 3166\_2, 3166\_3, currency, Capital and more for all countries. Bug kudos to Christoph Kempen, on whose work this package is heavily based (webpatser/laravel-countries).

3229.9k1](/packages/bhuvidya-laravel-countries)[print-filament/print

The print-filament package is a simple and efficient tool that allows users to quickly print the current webpage directly from their browser. This plugin enhances the convenience of printing online content by providing a one-click solution for generating printer-friendly versions of the pages you're viewing.

147.2k](/packages/print-filament-print)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
