# vinkius-labs/laravel-page-speed

Package to optimize your site automatically which results in a 35%+ optimization. Laravel Page Speed delivers an end-to-end optimization pipeline for Blade-rendered pages and REST APIs with measurable gains in latency, bandwidth, and resiliency.

Repository: https://github.com/vinkius-labs/laravel-page-speed
Canonical: https://ross.abutalabs.com/products/laravel-page-speed
Language: PHP
License: MIT
License Family: permissive
Topics: laravel, laravel-5-package, laravel-package, blade-template, minify-html, laravel-blade-minify, page-speed, high-performance, php, laravel-api, laravel-blade, api-rest, optimization
Last push: 2026-06-04T22:02:36+00:00

## Health v2 (maintenance only)
Score: 89/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 85, release rhythm 87, longevity 100
- inputs: {"age_days": 3280, "days_push": 90, "days_rel": 90, "gap_med": 13.5, "n_releases_24m": 11}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2512, forks 290 (observed 2026-08-28T04:06:57.471292+00:00)

## What it is
A Laravel package providing an optimization pipeline of middleware that minifies Blade-rendered HTML and compresses REST API responses for measurable gains in latency and bandwidth. It offers composable features like HTML minification, critical CSS inlining, script deferral, and adaptive Brotli/Gzip compression.

## Use cases
- minify html output in laravel blade pages
- speed up laravel website page load
- compress laravel rest api responses with gzip or brotli
- inline critical css to reduce render blocking
- defer javascript loading in laravel app
- reduce bandwidth usage of laravel site
- optimize laravel api latency

## When to choose
- you run a Laravel app with Blade templates or REST APIs and want automatic page speed optimization
- you want configurable, per-middleware control over minification and compression
- you need observability into optimization impact via HTTP headers

## When to avoid
- your app is not built on Laravel or PHP
- you need frontend build-time asset bundling rather than server-side output optimization
- minified HTML complicates your debugging workflow and you cannot disable it per-environment

## Facets
- artifact type: library
- maturity: active
- function: middleware, caching, compression, http-server
- domain: web-development, backend, performance
- platform: php
- tags: laravel-package, blade-minification, page-speed, html-minify, api-optimization, brotli, critical-css, laravel, web-server

## Member repositories
- vinkius-labs/laravel-page-speed (main) score 89

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:57.471292+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-30T02:26:20.735138+00:00, confidence not recorded.
  - readme: https://github.com/vinkius-labs/laravel-page-speed (fetched 2026-08-28T04:06:57.471292+00:00, sha bd7ff61d2995)
- Data as of 2026-08-30T08:39:29.467469+00:00.
