PHPackages                             attla/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. attla/laravel-html-minify

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

attla/laravel-html-minify
=========================

A elegant HTML minifier for Laravel.

011PHP

Since Jul 12Pushed 3y ago1 watchersCompare

[ Source](https://github.com/attla/laravel-html-minify)[ Packagist](https://packagist.org/packages/attla/laravel-html-minify)[ RSS](/packages/attla-laravel-html-minify/feed)WikiDiscussions main Synced 4w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel HTML minify
===================

[](#laravel-html-minify)

[![License](https://camo.githubusercontent.com/891419a00e04aa0e311068fa8a04eec92cab4f7026c76278279bf2a1da50e578/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d6c69676874677265792e737667)](LICENSE)[![Latest Stable Version](https://camo.githubusercontent.com/78eebf640e0abdaad28cd4e2e5c6be4d166c6766b92e3c5c82ba876efd6ebac8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6174746c612f6c61726176656c2d68746d6c2d6d696e696679)](https://packagist.org/packages/attla/laravel-html-minify)[![Total Downloads](https://camo.githubusercontent.com/6bd05bea8f868226e7492f79878da804e19c213d0694302501f51cb7de21b095/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6174746c612f6c61726176656c2d68746d6c2d6d696e696679)](https://packagist.org/packages/attla/laravel-html-minify)

🐸 A elegant HTML minifier for Laravel.

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

[](#installation)

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

Usage
-----

[](#usage)

```
# For enable
HTML_MINIFY = true

# For disable
HTML_MINIFY = false

# For preserve HTML comments
HTML_MINIFY_COMMENTS = true

# For preserve HTML conditional comments
HTML_MINIFY_CONDITIONAL_COMMENTS = true
```

License
-------

[](#license)

This package is licensed under the [MIT license](LICENSE) © [Octha](https://octha.com).

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity25

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/b494f3379e87bc32dc9ccd2f83edb2f34769a137664a09a8e3cab6e88d88dd5b?d=identicon)[nicolau](/maintainers/nicolau)

---

Top Contributors

[![nicxlau](https://avatars.githubusercontent.com/u/17990891?v=4)](https://github.com/nicxlau "nicxlau (5 commits)")

---

Tags

blade-minificationblade-minifierblade-minifyhtml-minificationhtml-minifierlaravellaravel-packageminify

### Embed Badge

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

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

PHPackages © 2026

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