New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

ken/blade-minify

Laravel Blade Minify
10,520 12
Install
composer require ken/blade-minify
Latest Version:1.0.5
PHP:>=5.6
Laravel:5
License:MIT
Last Updated:Aug 8, 2018
Links: GitHub  ·  Packagist
Maintainer: kenhyuwa

Laravel Blade Minify

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.

Related Packages

shemshad/laravel-blade-minify-plus

Minify final Laravel Blade HTML safely with first-class Laravel 8-13 support and...

5,589 1
damianromanowski/minifyhtml

Minify Laravel 4 HTML output

1,103 5
itrulia/minimalist

Minify your Laravel views

60 3
yamadashy/laravel-blade-minify-directive

@minify directive to partially compress HTML.

1,437 7
fuzaylov/bootstrap

Helper library to create Bootstrap html fields

115 6

Version History

Version Released PHP Laravel License
1.0.5 >=5.6 5.3.x|5.4.x|5.5.x MIT
1.0.4 >=5.6 5.3.x|5.4.x|5.5.x MIT
1.0.3 >=5.6 5.3.x|5.4.x|5.5.x MIT
1.0.2 >=5.6 5.3.x|5.4.x|5.5.x MIT
1.0.1 >=5.6 5.3.x|5.4.x|5.5.x MIT