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

spatie/image-optimizer

Easily optimize images using PHP observed · 2026-08-28

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

Health v2 · maintenance only

81/100

  • Activity 90
  • Release rhythm 58
  • 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: 211
  • age_days: 3349
  • days_rel: 65
  • days_push: 65
  • n_releases_24m: 4

Full methodology

Adoption not part of the score

2876 stars · 225 forks observed · 2026-08-28

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

A PHP library that optimizes PNG, JPG, WEBP, AVIF, SVG and GIF images by running them through a chain of installed optimization binaries like jpegoptim, pngquant, and gifsicle. It automatically detects available tools and overwrites images with smaller versions.

Use cases

  • compress images in a php application
  • reduce image file sizes for faster page loads
  • optimize uploaded images automatically
  • shrink pngs and jpgs without losing visible quality
  • batch optimize images in a laravel app
  • optimize webp and avif images

When to choose

  • you're building in PHP and want lossless or near-lossless image compression
  • you want a simple API that wraps multiple optimizer binaries
  • you need to shrink images on upload or during deployment

When to avoid

  • you need pure-PHP optimization without external binaries installed
  • you need advanced image manipulation like resizing or cropping
  • you're not working in PHP

Facets

library · maturity stable

image-processing compression developer-tools image-processing web-development performance media php cli cross-platform image-optimization php-package jpegoptim pngquant webp avif svg laravel-integration

3 sources

Member repositories

RepositoryRoleHealth v2
spatie/image-optimizermain81

For agents

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

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