Download the PHP package abordage/laravel-html-min without Composer
On this page you can find all versions of the php package abordage/laravel-html-min. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download abordage/laravel-html-min
More information about abordage/laravel-html-min
Files in abordage/laravel-html-min
Package laravel-html-min
Short Description HtmlMin is very simple (and very fast) html compression package for Laravel
License MIT
Homepage https://github.com/abordage/laravel-html-min
Informations about the package laravel-html-min
HtmlMin: Laravel package for HTML minification
Very simple (and very fast) html compression.
Features:
- Removing extra whitespaces
- Removing html comments (works correctly with
livewire/livewire
comments) - Skip
textarea
,pre
andscript
elements - Very fast. See benchmark
Requirements
- PHP 7.4 - 8.3
- Laravel 8.x - 11.x
Installation
You can install the package via composer:
You can publish the config file with:
Usage
To enable compression just register middleware:
It's all. Optionally you can change the settings in config/html-min.php
Configuration
Benchmark
See abordage/html-min-benchmark
Testing
or
or see https://github.com/abordage/laravel-html-min/actions/workflows/tests.yml
Feedback
If you have any feedback, comments or suggestions, please feel free to open an issue within this repository.
Contributing
Please see CONTRIBUTING for details.
Credits
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-html-min with dependencies
abordage/html-min Version ^0.2.1
illuminate/support Version ^8.0 || ^9.0 || ^10.0 || ^11.0