# HTMLMin/Laravel-HTMLMin

A simple HTML minifier for Laravel 5, 6, 7, 8 & 9.

Repository: https://github.com/HTMLMin/Laravel-HTMLMin
Canonical: https://ross.abutalabs.com/products/laravel-htmlmin
Language: PHP
License: MIT
License Family: permissive
Last push: 2023-03-07T14:41:01+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4768, "days_push": 1275, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1021, forks 118 (observed 2026-08-28T04:03:15.727862+00:00)

## What it is
A Laravel package that minifies HTML responses and Blade templates at compile time, built on Mr Clay's Minify library. It supports Laravel 5 through 9 and offers configurable blade optimizations with ignore paths.

## Use cases
- minify html responses in a laravel app
- compress blade templates at compile time
- reduce page size for faster load times
- optimize laravel views automatically
- exclude specific views from minification

## When to choose
- you run a Laravel app and want automatic HTML/Blade minification with minimal setup
- you need response-level minification via middleware plus compile-time blade optimization

## When to avoid
- your project is not Laravel or uses another PHP framework
- you need minification of CSS/JS assets rather than HTML
- you rely on Laravel 10+ where compatibility is untested

## Facets
- artifact type: plugin
- maturity: maintenance
- function: templating, middleware, compression
- domain: web-development, frontend, performance
- platform: php
- tags: html-minifier, laravel-package, blade-optimization, minification, laravel, web-server

## Member repositories
- HTMLMin/Laravel-HTMLMin (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:15.727862+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:08:47.385021+00:00, confidence not recorded.
  - readme: https://github.com/HTMLMin/Laravel-HTMLMin (fetched 2026-08-28T04:03:15.727862+00:00, sha 07f8a62fbbdf)
- Data as of 2026-08-30T08:39:29.467469+00:00.
