This package minifies HTML responses safely within Laravel using middleware.
You can install the package via composer:
composer require vormkracht10/laravel-minify-html-middleware
You can publish and run the migrations with:
php artisan vendor:publish --tag="laravel-minify-html-middleware-migrations"
php artisan migrate
You can publish the config file with:
php artisan vendor:publish --tag="laravel-minify-html-middleware-config"
This is the contents of the published config file:
return [
];
Optionally, you can publish the views using
php artisan vendor:publish --tag="laravel-minify-html-middleware-views"
$MinifyHtml = new Vormkracht10\MinifyHtml();
echo $MinifyHtml->echoPhrase('Hello, Vormkracht10!');
composer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.