PHPackages                             ken/blade-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. [Templating &amp; Views](/categories/templating)
4. /
5. ken/blade-minify

ActiveLibrary[Templating &amp; Views](/categories/templating)

ken/blade-minify
================

Laravel Blade Minify

1.0.5(8y ago)128.9k2[2 issues](https://github.com/kenhyuwa/blade-minify/issues)1MITPHPPHP &gt;=5.6

Since Oct 1Pushed 7y ago1 watchersCompare

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

READMEChangelogDependencies (4)Versions (8)Used By (1)

Laravel Blade Minify
====================

[](#laravel-blade-minify)

[![Laravel 5.3](https://camo.githubusercontent.com/a7e1cdf9092e9addc80026f4f37eb963e539defda9a1f3276d088424c84e0a4b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d352e332d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](http://laravel.com)[![Laravel 5.4](https://camo.githubusercontent.com/00fa09e19cad4128ef5cee38a4f2ecafffa3a629241ce7481e483c617a2c54bc/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d352e342d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](http://laravel.com)[![Laravel 5.5](https://camo.githubusercontent.com/1bd291589054cd0fea96c97b26e57f7dfd024f3d20572a13a74a64e37aa053d6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d352e352d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](http://laravel.com)[![Total Downloads](https://camo.githubusercontent.com/55f35e6f0b5ce1e82c163b5ebe8624947a1f90dfeb5259de014704fcd6272d8d/68747470733a2f2f706f7365722e707567782e6f72672f72656e61746f6d6172696e686f2f6c61726176656c2d626c6164652d6d696e6966792f646f776e6c6f616473)](https://packagist.org/packages/renatomarinho/laravel-blade-minify)

### Simple package to minify HTML output on demand which results on a 35%+ optimization.

[](#simple-package-to-minify-html-output-on-demand-which-results-on-a-35-optimization)

### Packages backup from RenatoMarinho\\laravel-page-speed. Because I Just need this packages simple not complete packages like RenatoMarinho\\laravel-page-speed

[](#packages-backup-from-renatomarinholaravel-page-speed-because-i-just-need-this-packages-simple-not-complete-packages-like-renatomarinholaravel-page-speed)

Installation is easy
--------------------

[](#installation-is-easy)

You can install the package via composer:

```
$ composer require ken/blade-minify
```

Next, the \\Ken\\BladeMinify\\Middleware\\Minify::class - middleware must be registered in the kernel:

```
//app/Http/Kernel.php

protected $middleware = [
    ...
    \Ken\BladeMinify\Middleware\Minify::class
]
```

#### Before

[](#before)

[![Before of Laravel Blade Minify](https://camo.githubusercontent.com/b0141aa95fae5e66399f5d3dcdb20505e57860a0f80e7dd46b0c0e97ebcdb79b/68747470733a2f2f692e696d6775722e636f6d2f634e334d5759682e706e67)](https://camo.githubusercontent.com/b0141aa95fae5e66399f5d3dcdb20505e57860a0f80e7dd46b0c0e97ebcdb79b/68747470733a2f2f692e696d6775722e636f6d2f634e334d5759682e706e67)

#### After

[](#after)

[![After of Laravel Blade Minify](https://camo.githubusercontent.com/629e6e0b38a0f6798828033cdb48ec72ea6b22eb5af64a8c50f2f24800f132c1/68747470733a2f2f692e696d6775722e636f6d2f494b574b4c6b4c2e706e67)](https://camo.githubusercontent.com/629e6e0b38a0f6798828033cdb48ec72ea6b22eb5af64a8c50f2f24800f132c1/68747470733a2f2f692e696d6775722e636f6d2f494b574b4c6b4c2e706e67)

License
-------

[](#license)

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

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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.

###  Release Activity

Cadence

Every ~1 days

Total

7

Last Release

3143d ago

Major Versions

0.0.5 → 1.0.52017-10-09

### Community

Maintainers

![](https://www.gravatar.com/avatar/95446e8ca567db045101811187bc6c73a34c4a55ef794a34ab99eab75102e7df?d=identicon)[kenhyuwa](/maintainers/kenhyuwa)

---

Top Contributors

[![kenhyuwa](https://avatars.githubusercontent.com/u/17788063?v=4)](https://github.com/kenhyuwa "kenhyuwa (8 commits)")

---

Tags

laravelhtmlminifybladelitepie

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/ken-blade-minify/health.svg)

```
[![Health](https://phpackages.com/badges/ken-blade-minify/health.svg)](https://phpackages.com/packages/ken-blade-minify)
```

###  Alternatives

[fitztrev/laravel-html-minify

Minifies the HTML output of Laravel 4 applications

414211.4k](/packages/fitztrev-laravel-html-minify)[robsontenorio/mary

Gorgeous UI components for Livewire powered by daisyUI and Tailwind

1.5k454.7k15](/packages/robsontenorio-mary)[yocmen/html-minify

Minifies the HTML output of Laravel 5 applications (Originally from https://github.com/fitztrev/laravel-html-minify)

1713.7k](/packages/yocmen-html-minify)[stijnvanouplines/blade-country-flags

A package to easily make use of country flags in your Laravel Blade views.

26307.2k6](/packages/stijnvanouplines-blade-country-flags)

PHPackages © 2026

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