ken/blade-minify
Laravel Blade Minify
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

After

License
The MIT License (MIT). Please see License File for more information.
Related Packages
akankov/laravel-compress-html
Laravel integration for the akankov/html-min HTML minifier: Blade @htmlmin direc...
84,380
1
tje3d/html-minify
Minifies the HTML output of Laravel 5 applications (Originally from https://gith...
88
0
yocmen/html-minify
Minifies the HTML output of Laravel 5 applications (Originally from https://gith...
13,735
16
shemshad/laravel-blade-minify-plus
Minify final Laravel Blade HTML safely with first-class Laravel 8-13 support and...
5,069
1
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| 1.0.5 | >=5.6 | 5.3.x| | MIT | |
| 1.0.4 | >=5.6 | 5.3.x| | MIT | |
| 1.0.3 | >=5.6 | 5.3.x| | MIT | |
| 1.0.2 | >=5.6 | 5.3.x| | MIT | |
| 1.0.1 | >=5.6 | 5.3.x| | MIT | |
| 1.0.0 | >=5.6 | 5.3.x| | MIT | |
| 0.0.5 | >=5.6 | 5.3.x| | MIT |