PHPackages                             damianromanowski/minifyhtml - 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. damianromanowski/minifyhtml

ActiveLibrary

damianromanowski/minifyhtml
===========================

Minify Laravel 4 HTML output

51.0k2PHP

Since Dec 2Pushed 12y ago1 watchersCompare

[ Source](https://github.com/damianromanowski/minifyhtml)[ Packagist](https://packagist.org/packages/damianromanowski/minifyhtml)[ RSS](/packages/damianromanowski-minifyhtml/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Minify HTML for Laravel 4
-------------------------

[](#minify-html-for-laravel-4)

[![Latest Stable Version](https://camo.githubusercontent.com/e25062e46c6ecdae78ac1dd68856ac22739d21775d15cc05ced48439bc277102/68747470733a2f2f706f7365722e707567782e6f72672f64616d69616e726f6d616e6f77736b692f6d696e69667968746d6c2f762f737461626c652e706e67)](https://packagist.org/packages/damianromanowski/minifyhtml) [![Total Downloads](https://camo.githubusercontent.com/c929758a43d3b5e33a2af86d9913001fbd55a6aaf07a0d7e309d0c1378e86e9e/68747470733a2f2f706f7365722e707567782e6f72672f64616d69616e726f6d616e6f77736b692f6d696e69667968746d6c2f646f776e6c6f6164732e706e67)](https://packagist.org/packages/damianromanowski/minifyhtml) [![Build Status](https://camo.githubusercontent.com/9aa4d04dcb8962e3ec73e011bd84ec940cb22767c97acc19388af9c9843cbab5/68747470733a2f2f7472617669732d63692e6f72672f64616d69616e726f6d616e6f77736b692f6d696e69667968746d6c2e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/damianromanowski/minifyhtml)

Minify HTML provides a no-frills way of quickly compressing your HTML output

### Installation

[](#installation)

- [Minify HTML on Packagist](https://packagist.org/packages/damianromanowski/minifyhtml)
- [Minify HTML on GitHub](https://github.com/damianromanowski/minifyhtml)

To get the latest version of Minify HTML simply require it in your `composer.json` file.

```
"damianromanowski/minifyhtml": "dev-master"

```

You'll then need to run `composer install` to download it and have the autoloader updated.

> Note that once Minify HTML has a stable version tagged you should use a tagged release instead of the master branch.

Once Minify HTML is installed you need to register the service provider with the application. Open up `app/config/app.php` and find the `providers` key.

```
'providers' => array(

    'Damianromanowski\Minifyhtml\MinifyhtmlServiceProvider'

)

```

### Configuration

[](#configuration)

Minify HTML provides easy configuration options compressing your output. It comes with a configuration file that you can edit at your leisure.

You'll need to run `php artisan config:publish damianromanowski/minifyhtml` to publish the configuration to your application.

#### Step 1: Enable the compressor

[](#step-1-enable-the-compressor)

```
'enabled' => true,

```

And you're all done!

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

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

---

Top Contributors

[![damianromanowski](https://avatars.githubusercontent.com/u/5643675?v=4)](https://github.com/damianromanowski "damianromanowski (6 commits)")

### Embed Badge

![Health badge](/badges/damianromanowski-minifyhtml/health.svg)

```
[![Health](https://phpackages.com/badges/damianromanowski-minifyhtml/health.svg)](https://phpackages.com/packages/damianromanowski-minifyhtml)
```

PHPackages © 2026

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