wa72/html-pretty-min
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| simplehtmldom/simplehtmldom | 0.87 | simplehtmldom is a fast, flexible PHP HTML DOM parser that turns messy, invalid HTML into a traversable tree. Use jQuery-like selectors to find, extract, and manipulate elements, attributes, and text with minimal code. Lightweight, dependency-free, and ideal for scraping, templating, and document pr... | 189 | — | 55 | — | 0 | 3.0 | 0.8 | MIT | — | |
| fitztrev/laravel-html-minify | 0.87 | 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 | — | |
| sunra/php-simple-html-dom-parser | 0.87 | A maintained PHP port of Simple HTML DOM for loading and manipulating HTML with jQuery-like CSS selectors. It provides an easy, forgiving API for scraping pages and extracting or editing elements, with Composer support for modern PHP versions. | 1,282 | — | 342 | — | 30 | 27.7 | 18.0 | — | 9 years ago |
|
| phpgt/dom | 0.86 | A modern DOM API for PHP built on the native DOMDocument, giving you browser-style, standardised object-oriented DOM manipulation server-side. Treat HTML files as templates and ready-process pages for browsers, webservers and CDNs. | 124 | 126 | 29 | 293K | 2 | 30.2 | 54.2 | MIT | 1 month ago | |
| fahlisaputra/laravel-minify | 0.86 | 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.86 | 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 | — | |
| backstage/laravel-minify-html-middleware | 0.86 | 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 | — | |
| 24hoursmedia/php-dom-manipulations | 0.86 | Lightweight PHP helpers for manipulating HTML DOM documents. Create, find, update, replace, and remove nodes and attributes with a simple API suited for scraping, templating, and HTML cleanup tasks in legacy or modern PHP projects. | 0 | 0 | 0 | 13 | 1 | 0.4 | 15.8 | MIT | 9 years ago | |
| emanueleminotto/simple-html-dom | 0.86 | Simple HTML DOM parser for PHP. Provides a lightweight API to load HTML from strings/files/URLs, traverse and query elements, and extract text/attributes. Handy for scraping, data extraction, and quick HTML manipulation without a full browser. | 11 | 17 | 8 | 530 | 0 | 0.6 | 22.9 | — | 11 years ago | |
| hnhdigital-os/laravel-html-generator | 0.86 | A Laravel package that generates HTML programmatically, offering a fluent builder API for creating tags, forms, and reusable components. Build clean, consistent markup directly in PHP instead of cluttering Blade templates, with chainable methods for attributes, content, and nesting. Useful for dynam... | 2 | 2 | 0 | 0 | 0 | 0.0 | — | MIT | 2 years ago | |
| wa72/htmlpagedom | 0.86 | wa72/htmlpagedom is a PHP library that extends DOMDocument for easy HTML manipulation with jQuery-style methods and CSS selectors. Load HTML strings or files, then query and modify elements using familiar find, filter, addClass, attr, and append APIs, powered by Symfony CssSelector. | 337 | 347 | 46 | 60K | 7 | 10.0 | 35.0 | MIT | 9 months ago | |
| fossar/htmlawed | 0.86 | Fork of kesar/HTMLawed maintained by selfoss and wallabag. A single-file (~45KB) PHP HTML filter/sanitizer that secures and tidies user input, making it standards-compliant for HTML/XHTML/XML, with extensive customization options. | 2 | 2 | 2 | 6K | 0 | 22.1 | 53.9 | GPL-2.0 | 3 months ago | |
| abordage/laravel-html-min | 0.86 | 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 | |
| andrey-helldar/pretty-array | 0.85 | Pretty Array is a lightweight PHP package for rendering arrays in a clean, readable, colorized format. It simplifies debugging nested data and works with Laravel or standalone PHP projects. | 17 | — | 1 | — | 0 | 0.1 | — | MIT | 1 year ago |
|
| anahkiasen/html-object | 0.85 | HtmlObject brings object-oriented HTML generation to PHP and Laravel. Build tags, lists, tables, and forms through a fluent, chainable API instead of messy string concatenation. Each element is a dedicated class you can extend, keeping markup clean, reusable, and easy to maintain. | 128 | — | 21 | — | 4 | 2.5 | 1.5 | MIT | 9 years ago |
|
| martyrer/simple-html-dom-bundle | 0.85 | A Symfony bundle that integrates PHP Simple HTML DOM into your application, giving you a convenient service for parsing and manipulating HTML using jQuery-like selectors. Load pages, traverse the DOM, and extract or edit elements with straightforward, readable syntax. | 0 | 1 | — | 0 | — | 0.0 | — | — | — | |
| 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 | |
| vanilla/htmlawed | 0.85 | Laravel integration for HTMLawed, a PHP HTML sanitizer and validator. It cleans user-submitted markup, balances tags, filters unsafe attributes and elements, and helps preserve safe formatting in rich text. Useful for sanitizing comments, CMS content, and other untrusted HTML. | 40 | 42 | 15 | 8K | 3 | 1.8 | 32.5 | NOASSERTION | 3 years ago | |
| tomjamon/laravel-custom-html | 0.85 | A Laravel package for managing and rendering custom HTML content in your applications. Define reusable HTML snippets, output them in Blade views, and keep custom markup organized with a simple, framework-friendly API. | 0 | 10 | — | 0 | — | 0.0 | — | — | — | |
| laravie/html | 0.85 | Laravie HTML provides convenient HTML and form builders for Laravel, with a fluent, expressive API for generating forms, inputs, buttons, and other markup in your views. It keeps templates clean, supports model binding and old input, and integrates smoothly with Laravel validation and routing conven... | 36 | 38 | 9 | 694 | 2 | 1.2 | 17.9 | MIT | 4 years ago |
How can I help you explore Laravel packages today?