voku/html-min
HtmlMin is a fast, easy-to-use PHP library that minifies HTML5 by stripping extra whitespace, comments, and unneeded characters without breaking structure. It also sorts attributes and CSS class names for better gzip compression, making pages smaller and faster to load.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| voku/simple_html_dom | 0.87 | voku/simple_html_dom is a fast PHP HTML DOM parser and jQuery-style selector library. It wraps DOMDocument and Symfony CssSelector to find, extract, and manipulate HTML with UTF-8 and partial invalid-HTML support. Requires PHP 7.1+. | 901 | 917 | 107 | 308K | 1 | 8.5 | 37.3 | MIT | — | |
| erivello/simple-html-dom-bundle | 0.86 | Symfony2 bundle that integrates the Simple HTML DOM Parser, letting you load HTML and find tags with jQuery-like selectors via the simple_html_dom service. Extract links, content, and attributes easily. | 8 | 9 | 12 | 12 | 2 | 0.8 | 5.1 | MIT | — | |
| voku/stop-words | 0.86 | PHP library providing curated stop-word lists for many languages (e.g., en, de, fr, es, ru, ar). Simple API to fetch stop words by language code, useful for search, indexing, and text processing pipelines. | 92 | 91 | 13 | 345K | 1 | 1.2 | 49.6 | MIT | — | |
| graham-campbell/htmlmin | 0.86 | Laravel wrapper around HTMLMin that compresses your app's HTML output on the fly, stripping comments and unnecessary whitespace. Integrates via service provider and facade, and can be applied globally or to specific responses to shrink page size and speed up delivery. | 0 | 948 | — | 2K | — | 0.3 | 46.7 | — | — | |
| voku/stringy | 0.85 | voku/stringy is a PHP string manipulation library with a fluent, chainable API and multibyte/Unicode-safe helpers. It offers common text utilities like trimming, casing, slugging, replacing, and comparisons, aiming for predictable results across encodings. | 180 | 187 | 24 | 57K | 1 | 1.9 | 34.9 | MIT | — | |
| akankov/laravel-compress-html | 0.85 | Laravel middleware that minifies HTML responses on the fly, removing whitespace, comments, and redundant markup to shrink page size and speed up delivery with zero template changes. | 0 | — | 0 | — | 0 | 12.8 | — | MIT | 4 months ago | |
| devfactory/minify | 0.85 | A Laravel middleware that automatically minifies HTML responses, removing unnecessary whitespace, comments, and redundant markup to shrink payloads and speed up page loads. Easy to install and configurable per route, it reduces output size without changing your views or build setup. | 82 | 87 | 30 | 10K | 13 | 5.4 | 33.6 | MIT | 3 years ago | |
| backstage/laravel-minify-html-middleware | 0.85 | A Laravel middleware that minifies HTML responses on the fly, trimming whitespace and redundant markup to shrink payloads and speed up page delivery without touching your views or blade templates. | 6 | 6 | 0 | 1K | 2 | 0.4 | 31.2 | MIT | — | |
| fitztrev/laravel-html-minify | 0.85 | Laravel HTML Minify is middleware that automatically compresses HTML responses by removing extra whitespace, comments, and optional attributes, reducing page size and improving load times with simple installation and configuration. | 411 | 423 | 43 | 36 | 10 | 6.4 | 4.3 | MIT | — | |
| wyrihaximus/html-compress | 0.85 | A lightweight PHP package that compresses HTML output by removing unnecessary whitespace, comments, and redundant markup. It helps reduce response size, improve page load times, and save bandwidth with minimal integration effort. | 79 | 84 | 17 | 18K | 9 | 4.0 | 37.0 | MIT | 1 year ago | |
| htmlmin/htmlmin | 0.85 | A Laravel middleware package that minifies HTML responses by removing extra whitespace, comments, and redundant markup, reducing page size and improving load times. Easy to install and configurable for production use. | 1,018 | 1,027 | 115 | 13K | 31 | 17.9 | 26.3 | MIT | 4 years ago | |
| voku/css-to-inline-styles | 0.85 | voku/css-to-inline-styles converts CSS rules into inline style attributes on HTML elements, making it useful for email templates and clients that strip or ignore style tags. It is a PHP library for reliably inlining stylesheets directly into markup. | 19 | 20 | 5 | 3K | 1 | 0.8 | 30.9 | NOASSERTION | — | |
| fahlisaputra/laravel-minify | 0.85 | A Laravel middleware package that minifies HTML, CSS, and JavaScript responses on the fly. Reduce page size and improve load times with simple configuration, optional caching, and support for custom minifier drivers—no build tools required. | 148 | 149 | 23 | 27K | 13 | 16.1 | 38.5 | MIT | 6 months ago | |
| zaininnari/html-minifier | 0.84 | A Laravel/PHP package for minifying HTML output by removing unnecessary whitespace, comments, and redundant markup. It helps reduce response size and improve delivery speed, with simple configuration for adding HTML compression to your application. | 61 | 62 | 16 | 4K | 4 | 1.8 | 25.2 | NOASSERTION | — | |
| abordage/laravel-html-min | 0.84 | Laravel HTML Min is a lightweight middleware package that compresses your application's HTML output by stripping whitespace, comments, and redundant markup. Reduce page size and speed up load times with zero template changes—just install and enable it. | 25 | — | 3 | — | 0 | 3.8 | — | MIT | 10 months ago | |
| matthecat/htmlcompressor-bundle | 0.84 | Symfony bundle that automatically minifies HTML responses, stripping unnecessary whitespace and comments to reduce page size and speed up delivery. Simple to install and configure, it helps improve front-end performance without changing templates or application code. | 11 | 12 | 4 | 0 | 0 | 0.1 | — | MIT | — | |
| ivopetkov/html5-dom-document-php | 0.84 | A PHP HTML5 DOMDocument library that parses and serializes modern HTML5 reliably while working around native DOMDocument limitations. It adds support for HTML5 tags and CSS selectors, making it easy to load, query, and manipulate documents with clean, familiar APIs. | 600 | — | 43 | — | 8 | 19.2 | 2.5 | MIT | 4 months ago |
|
| voku/anti-xss | 0.84 | AntiXSS is a lightweight PHP library for filtering malicious input and preventing cross-site scripting attacks. It cleans user-supplied strings and arrays, with support for custom sanitizing, making it a simple drop-in defense for web forms and input handling. | 711 | 729 | 121 | 439K | 1 | 26.5 | 44.9 | MIT | 4 weeks ago | |
| sema/minifier-bundle | 0.84 | Sema Minifier Bundle integrates configurable HTML, CSS, and JavaScript minification into Symfony applications. It compresses responses and assets on the fly, supports caching and filters, and helps reduce page weight, load times, and bandwidth with minimal changes to existing templates. | 5 | 6 | 10 | 1 | 1 | 0.5 | 0.9 | MIT | — | |
| wa72/html-pretty-min | 0.84 | wa72/html-pretty-min is a PHP library for minifying and pretty-printing HTML. It removes unnecessary whitespace to compress markup and can reformat HTML for readable output, helping optimize templates and generated pages. | 22 | 22 | 9 | 5K | 4 | 1.4 | 32.5 | MIT | 1 year ago |
How can I help you explore Laravel packages today?