Ross ROSS = Recommend OSS · open-source software intelligence for agents

spatie/laravel-image-optimizer

Optimize images in your Laravel app observed · 2026-08-28

github.com/spatie/laravel-image-optimizer · homepage · PHP · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

77/100

  • Activity 96
  • Release rhythm 39
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: 182.5
  • age_days: 3344
  • days_rel: 193
  • days_push: 26
  • n_releases_24m: 3

Full methodology

Adoption not part of the score

1309 stars · 117 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

A Laravel package that optimizes PNG, JPG, SVG, and GIF images by running them through a chain of installed optimization binaries. It is the Laravel integration of spatie/image-optimizer and includes a facade, container binding, and middleware for automatic optimization.

Use cases

  • optimize images in a laravel app
  • compress pngs and jpgs on upload
  • reduce image file sizes for faster page loads
  • automatically optimize images served via middleware
  • shrink svg and gif files in php
  • integrate image optimization into laravel media uploads

When to choose

  • you use Laravel and want drop-in image optimization
  • you want to leverage system-installed optimizers like pngquant or jpegoptim
  • you need automatic optimization of request/response images via middleware

When to avoid

  • you are not using Laravel - use spatie/image-optimizer directly
  • you need pure-PHP optimization without external binaries
  • you need advanced image manipulation like resizing or cropping - use spatie/image instead

Facets

library · maturity stable

image-processing middleware developer-tools image-processing web-development performance php laravel-package image-optimization spatie compression png jpeg svg gif laravel web-server

4 sources

Member repositories

RepositoryRoleHealth v2
spatie/laravel-image-optimizermain77

For agents

markdown · JSON · MCP: product_card(name="spatie/laravel-image-optimizer")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem