{"adoption": {"forks": 225, "observed_at": "2026-08-28T04:07:27.372871+00:00", "stars": 2876}, "canonical_url": "https://ross.abutalabs.com/products/image-optimizer", "card": {"archived": false, "artifact_type": "library", "description": "Easily optimize images using PHP", "domain": ["image-processing", "web-development", "performance", "media"], "enriched": true, "function": ["image-processing", "compression", "developer-tools"], "health_score": 93, "homepage": "https://freek.dev/797-easily-optimize-images-using-php-and-some-binaries", "language": "PHP", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["spatie/image-optimizer"], "name": "spatie/image-optimizer", "platform": ["php", "cli", "cross-platform"], "pushed_at": "2026-06-29T08:28:57+00:00", "repo": "spatie/image-optimizer", "stars": 2876, "tags": ["image-optimization", "php-package", "jpegoptim", "pngquant", "webp", "avif", "svg", "laravel-integration"], "topics": ["php", "image", "optimizer", "performance", "jpeg", "png", "gif"], "urls": [], "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"], "what_it_is": "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.", "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"], "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"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/image-optimizer", "repo": "spatie/image-optimizer", "role": "main", "score": 81}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:07:27.372871+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T07:35:42.703295+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5bf395750b652754d902f20157b9b11677f0d89ffb8c8e568caa4d46051c0029", "fetched_at": "2026-08-28T04:07:27.372871+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spatie/image-optimizer"}, {"content_hash": "74b45bd179e8d1b37e13acb5ed2cc8dfafe9dc97e259d8ac8448dafac1d3a0d7", "fetched_at": "2026-08-29T09:51:15.344363+00:00", "kind": "homepage", "missing": false, "url": "https://freek.dev/797-easily-optimize-images-using-php-and-some-binaries"}, {"content_hash": "e0ef9dccbb05c2ca499f33e17a37b8d295834eb41f7a6997f032841524bf0976", "fetched_at": "2026-08-29T09:51:15.353744+00:00", "kind": "site_page", "missing": false, "url": "https://freek.dev/about"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:07:27.372871+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T07:35:42.703295+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5bf395750b652754d902f20157b9b11677f0d89ffb8c8e568caa4d46051c0029", "fetched_at": "2026-08-28T04:07:27.372871+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spatie/image-optimizer"}, {"content_hash": "74b45bd179e8d1b37e13acb5ed2cc8dfafe9dc97e259d8ac8448dafac1d3a0d7", "fetched_at": "2026-08-29T09:51:15.344363+00:00", "kind": "homepage", "missing": false, "url": "https://freek.dev/797-easily-optimize-images-using-php-and-some-binaries"}, {"content_hash": "e0ef9dccbb05c2ca499f33e17a37b8d295834eb41f7a6997f032841524bf0976", "fetched_at": "2026-08-29T09:51:15.353744+00:00", "kind": "site_page", "missing": false, "url": "https://freek.dev/about"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T07:35:42.703295+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5bf395750b652754d902f20157b9b11677f0d89ffb8c8e568caa4d46051c0029", "fetched_at": "2026-08-28T04:07:27.372871+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spatie/image-optimizer"}, {"content_hash": "74b45bd179e8d1b37e13acb5ed2cc8dfafe9dc97e259d8ac8448dafac1d3a0d7", "fetched_at": "2026-08-29T09:51:15.344363+00:00", "kind": "homepage", "missing": false, "url": "https://freek.dev/797-easily-optimize-images-using-php-and-some-binaries"}, {"content_hash": "e0ef9dccbb05c2ca499f33e17a37b8d295834eb41f7a6997f032841524bf0976", "fetched_at": "2026-08-29T09:51:15.353744+00:00", "kind": "site_page", "missing": false, "url": "https://freek.dev/about"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:07:27.372871+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:07:27.372871+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:07:27.372871+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T07:35:42.703295+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5bf395750b652754d902f20157b9b11677f0d89ffb8c8e568caa4d46051c0029", "fetched_at": "2026-08-28T04:07:27.372871+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spatie/image-optimizer"}, {"content_hash": "74b45bd179e8d1b37e13acb5ed2cc8dfafe9dc97e259d8ac8448dafac1d3a0d7", "fetched_at": "2026-08-29T09:51:15.344363+00:00", "kind": "homepage", "missing": false, "url": "https://freek.dev/797-easily-optimize-images-using-php-and-some-binaries"}, {"content_hash": "e0ef9dccbb05c2ca499f33e17a37b8d295834eb41f7a6997f032841524bf0976", "fetched_at": "2026-08-29T09:51:15.353744+00:00", "kind": "site_page", "missing": false, "url": "https://freek.dev/about"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:07:27.372871+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:07:27.372871+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T07:35:42.703295+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5bf395750b652754d902f20157b9b11677f0d89ffb8c8e568caa4d46051c0029", "fetched_at": "2026-08-28T04:07:27.372871+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spatie/image-optimizer"}, {"content_hash": "74b45bd179e8d1b37e13acb5ed2cc8dfafe9dc97e259d8ac8448dafac1d3a0d7", "fetched_at": "2026-08-29T09:51:15.344363+00:00", "kind": "homepage", "missing": false, "url": "https://freek.dev/797-easily-optimize-images-using-php-and-some-binaries"}, {"content_hash": "e0ef9dccbb05c2ca499f33e17a37b8d295834eb41f7a6997f032841524bf0976", "fetched_at": "2026-08-29T09:51:15.353744+00:00", "kind": "site_page", "missing": false, "url": "https://freek.dev/about"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:07:27.372871+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:07:27.372871+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:07:27.372871+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T07:35:42.703295+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5bf395750b652754d902f20157b9b11677f0d89ffb8c8e568caa4d46051c0029", "fetched_at": "2026-08-28T04:07:27.372871+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spatie/image-optimizer"}, {"content_hash": "74b45bd179e8d1b37e13acb5ed2cc8dfafe9dc97e259d8ac8448dafac1d3a0d7", "fetched_at": "2026-08-29T09:51:15.344363+00:00", "kind": "homepage", "missing": false, "url": "https://freek.dev/797-easily-optimize-images-using-php-and-some-binaries"}, {"content_hash": "e0ef9dccbb05c2ca499f33e17a37b8d295834eb41f7a6997f032841524bf0976", "fetched_at": "2026-08-29T09:51:15.353744+00:00", "kind": "site_page", "missing": false, "url": "https://freek.dev/about"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:07:27.372871+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:07:27.372871+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T07:35:42.703295+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5bf395750b652754d902f20157b9b11677f0d89ffb8c8e568caa4d46051c0029", "fetched_at": "2026-08-28T04:07:27.372871+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spatie/image-optimizer"}, {"content_hash": "74b45bd179e8d1b37e13acb5ed2cc8dfafe9dc97e259d8ac8448dafac1d3a0d7", "fetched_at": "2026-08-29T09:51:15.344363+00:00", "kind": "homepage", "missing": false, "url": "https://freek.dev/797-easily-optimize-images-using-php-and-some-binaries"}, {"content_hash": "e0ef9dccbb05c2ca499f33e17a37b8d295834eb41f7a6997f032841524bf0976", "fetched_at": "2026-08-29T09:51:15.353744+00:00", "kind": "site_page", "missing": false, "url": "https://freek.dev/about"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T07:35:42.703295+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5bf395750b652754d902f20157b9b11677f0d89ffb8c8e568caa4d46051c0029", "fetched_at": "2026-08-28T04:07:27.372871+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spatie/image-optimizer"}, {"content_hash": "74b45bd179e8d1b37e13acb5ed2cc8dfafe9dc97e259d8ac8448dafac1d3a0d7", "fetched_at": "2026-08-29T09:51:15.344363+00:00", "kind": "homepage", "missing": false, "url": "https://freek.dev/797-easily-optimize-images-using-php-and-some-binaries"}, {"content_hash": "e0ef9dccbb05c2ca499f33e17a37b8d295834eb41f7a6997f032841524bf0976", "fetched_at": "2026-08-29T09:51:15.353744+00:00", "kind": "site_page", "missing": false, "url": "https://freek.dev/about"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T07:35:42.703295+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5bf395750b652754d902f20157b9b11677f0d89ffb8c8e568caa4d46051c0029", "fetched_at": "2026-08-28T04:07:27.372871+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spatie/image-optimizer"}, {"content_hash": "74b45bd179e8d1b37e13acb5ed2cc8dfafe9dc97e259d8ac8448dafac1d3a0d7", "fetched_at": "2026-08-29T09:51:15.344363+00:00", "kind": "homepage", "missing": false, "url": "https://freek.dev/797-easily-optimize-images-using-php-and-some-binaries"}, {"content_hash": "e0ef9dccbb05c2ca499f33e17a37b8d295834eb41f7a6997f032841524bf0976", "fetched_at": "2026-08-29T09:51:15.353744+00:00", "kind": "site_page", "missing": false, "url": "https://freek.dev/about"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T07:35:42.703295+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5bf395750b652754d902f20157b9b11677f0d89ffb8c8e568caa4d46051c0029", "fetched_at": "2026-08-28T04:07:27.372871+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spatie/image-optimizer"}, {"content_hash": "74b45bd179e8d1b37e13acb5ed2cc8dfafe9dc97e259d8ac8448dafac1d3a0d7", "fetched_at": "2026-08-29T09:51:15.344363+00:00", "kind": "homepage", "missing": false, "url": "https://freek.dev/797-easily-optimize-images-using-php-and-some-binaries"}, {"content_hash": "e0ef9dccbb05c2ca499f33e17a37b8d295834eb41f7a6997f032841524bf0976", "fetched_at": "2026-08-29T09:51:15.353744+00:00", "kind": "site_page", "missing": false, "url": "https://freek.dev/about"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 90, "longevity": 100, "rhythm": 58}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3349, "days_push": 65, "days_rel": 65, "gap_med": 211, "n_releases_24m": 4}, "score": 81, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}