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)
```

PHPackages © 2026

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