ken/blade-minify

Laravel Blade Minify

Maintainers

Package info

github.com/kenhyuwa/blade-minify

pkg:composer/ken/blade-minify

Statistics

Installs: 8 850

Dependents: 1

Suggesters: 0

Stars: 12

Open Issues: 2

1.0.5 2017-10-09 12:21 UTC

This package is auto-updated.

Last update: 2026-03-09 12:43:41 UTC


README

Laravel 5.3 Laravel 5.4 Laravel 5.5 Total Downloads

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

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 of Laravel Blade Minify

After

After of Laravel Blade Minify

License

The MIT License (MIT). Please see License File for more information.