{"adoption": {"forks": 117, "observed_at": "2026-08-28T04:04:19.347792+00:00", "stars": 1309}, "canonical_url": "https://ross.abutalabs.com/products/laravel-image-optimizer", "card": {"archived": false, "artifact_type": "library", "description": "Optimize images in your Laravel app", "domain": ["image-processing", "web-development", "performance"], "enriched": true, "function": ["image-processing", "middleware", "developer-tools"], "health_score": 95, "homepage": "https://spatie.be/opensource/laravel", "language": "PHP", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["spatie/laravel-image-optimizer"], "name": "spatie/laravel-image-optimizer", "platform": ["php"], "pushed_at": "2026-08-07T11:20:47+00:00", "repo": "spatie/laravel-image-optimizer", "stars": 1309, "tags": ["laravel-package", "image-optimization", "spatie", "compression", "png", "jpeg", "svg", "gif", "laravel", "web-server"], "topics": ["laravel", "php", "image", "optimize", "performance"], "urls": [], "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"], "what_it_is": "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.", "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"], "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"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/laravel-image-optimizer", "repo": "spatie/laravel-image-optimizer", "role": "main", "score": 77}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:04:19.347792+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T04:50:01.036653+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3577869ac6f16b355c00b0df9256876b176c4de388f589a6afadf92212e22102", "fetched_at": "2026-08-28T04:04:19.347792+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spatie/laravel-image-optimizer"}, {"content_hash": "4a0ae7f7c9b67f686bd2404c1440d0c76e1119903af24daa175ef22ce3ac9a24", "fetched_at": "2026-08-29T12:08:13.353247+00:00", "kind": "homepage", "missing": false, "url": "https://spatie.be/opensource/laravel"}, {"content_hash": "08e024d86d95c41664c322c41f72dd4ffbdb77bdb2593df69b7da9257528b182", "fetched_at": "2026-08-29T12:08:13.356034+00:00", "kind": "site_page", "missing": false, "url": "https://spatie.be/docs"}, {"content_hash": "d3cb88e4b34c8f48a454735b613f7e1bc733398952e9c21cf4046bbeaa923d24", "fetched_at": "2026-08-29T12:08:13.357889+00:00", "kind": "site_page", "missing": false, "url": "https://spatie.be/about-us"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:04:19.347792+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T04:50:01.036653+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3577869ac6f16b355c00b0df9256876b176c4de388f589a6afadf92212e22102", "fetched_at": "2026-08-28T04:04:19.347792+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spatie/laravel-image-optimizer"}, {"content_hash": "4a0ae7f7c9b67f686bd2404c1440d0c76e1119903af24daa175ef22ce3ac9a24", "fetched_at": "2026-08-29T12:08:13.353247+00:00", "kind": "homepage", "missing": false, "url": "https://spatie.be/opensource/laravel"}, {"content_hash": "08e024d86d95c41664c322c41f72dd4ffbdb77bdb2593df69b7da9257528b182", "fetched_at": "2026-08-29T12:08:13.356034+00:00", "kind": "site_page", "missing": false, "url": "https://spatie.be/docs"}, {"content_hash": "d3cb88e4b34c8f48a454735b613f7e1bc733398952e9c21cf4046bbeaa923d24", "fetched_at": "2026-08-29T12:08:13.357889+00:00", "kind": "site_page", "missing": false, "url": "https://spatie.be/about-us"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T04:50:01.036653+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3577869ac6f16b355c00b0df9256876b176c4de388f589a6afadf92212e22102", "fetched_at": "2026-08-28T04:04:19.347792+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spatie/laravel-image-optimizer"}, {"content_hash": "4a0ae7f7c9b67f686bd2404c1440d0c76e1119903af24daa175ef22ce3ac9a24", "fetched_at": "2026-08-29T12:08:13.353247+00:00", "kind": "homepage", "missing": false, "url": "https://spatie.be/opensource/laravel"}, {"content_hash": "08e024d86d95c41664c322c41f72dd4ffbdb77bdb2593df69b7da9257528b182", "fetched_at": "2026-08-29T12:08:13.356034+00:00", "kind": "site_page", "missing": false, "url": "https://spatie.be/docs"}, {"content_hash": "d3cb88e4b34c8f48a454735b613f7e1bc733398952e9c21cf4046bbeaa923d24", "fetched_at": "2026-08-29T12:08:13.357889+00:00", "kind": "site_page", "missing": false, "url": "https://spatie.be/about-us"}], "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:04:19.347792+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:04:19.347792+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:04:19.347792+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T04:50:01.036653+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3577869ac6f16b355c00b0df9256876b176c4de388f589a6afadf92212e22102", "fetched_at": "2026-08-28T04:04:19.347792+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spatie/laravel-image-optimizer"}, {"content_hash": "4a0ae7f7c9b67f686bd2404c1440d0c76e1119903af24daa175ef22ce3ac9a24", "fetched_at": "2026-08-29T12:08:13.353247+00:00", "kind": "homepage", "missing": false, "url": "https://spatie.be/opensource/laravel"}, {"content_hash": "08e024d86d95c41664c322c41f72dd4ffbdb77bdb2593df69b7da9257528b182", "fetched_at": "2026-08-29T12:08:13.356034+00:00", "kind": "site_page", "missing": false, "url": "https://spatie.be/docs"}, {"content_hash": "d3cb88e4b34c8f48a454735b613f7e1bc733398952e9c21cf4046bbeaa923d24", "fetched_at": "2026-08-29T12:08:13.357889+00:00", "kind": "site_page", "missing": false, "url": "https://spatie.be/about-us"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:04:19.347792+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:04:19.347792+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T04:50:01.036653+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3577869ac6f16b355c00b0df9256876b176c4de388f589a6afadf92212e22102", "fetched_at": "2026-08-28T04:04:19.347792+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spatie/laravel-image-optimizer"}, {"content_hash": "4a0ae7f7c9b67f686bd2404c1440d0c76e1119903af24daa175ef22ce3ac9a24", "fetched_at": "2026-08-29T12:08:13.353247+00:00", "kind": "homepage", "missing": false, "url": "https://spatie.be/opensource/laravel"}, {"content_hash": "08e024d86d95c41664c322c41f72dd4ffbdb77bdb2593df69b7da9257528b182", "fetched_at": "2026-08-29T12:08:13.356034+00:00", "kind": "site_page", "missing": false, "url": "https://spatie.be/docs"}, {"content_hash": "d3cb88e4b34c8f48a454735b613f7e1bc733398952e9c21cf4046bbeaa923d24", "fetched_at": "2026-08-29T12:08:13.357889+00:00", "kind": "site_page", "missing": false, "url": "https://spatie.be/about-us"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:04:19.347792+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:04:19.347792+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:04:19.347792+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T04:50:01.036653+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3577869ac6f16b355c00b0df9256876b176c4de388f589a6afadf92212e22102", "fetched_at": "2026-08-28T04:04:19.347792+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spatie/laravel-image-optimizer"}, {"content_hash": "4a0ae7f7c9b67f686bd2404c1440d0c76e1119903af24daa175ef22ce3ac9a24", "fetched_at": "2026-08-29T12:08:13.353247+00:00", "kind": "homepage", "missing": false, "url": "https://spatie.be/opensource/laravel"}, {"content_hash": "08e024d86d95c41664c322c41f72dd4ffbdb77bdb2593df69b7da9257528b182", "fetched_at": "2026-08-29T12:08:13.356034+00:00", "kind": "site_page", "missing": false, "url": "https://spatie.be/docs"}, {"content_hash": "d3cb88e4b34c8f48a454735b613f7e1bc733398952e9c21cf4046bbeaa923d24", "fetched_at": "2026-08-29T12:08:13.357889+00:00", "kind": "site_page", "missing": false, "url": "https://spatie.be/about-us"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:04:19.347792+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:04:19.347792+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T04:50:01.036653+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3577869ac6f16b355c00b0df9256876b176c4de388f589a6afadf92212e22102", "fetched_at": "2026-08-28T04:04:19.347792+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spatie/laravel-image-optimizer"}, {"content_hash": "4a0ae7f7c9b67f686bd2404c1440d0c76e1119903af24daa175ef22ce3ac9a24", "fetched_at": "2026-08-29T12:08:13.353247+00:00", "kind": "homepage", "missing": false, "url": "https://spatie.be/opensource/laravel"}, {"content_hash": "08e024d86d95c41664c322c41f72dd4ffbdb77bdb2593df69b7da9257528b182", "fetched_at": "2026-08-29T12:08:13.356034+00:00", "kind": "site_page", "missing": false, "url": "https://spatie.be/docs"}, {"content_hash": "d3cb88e4b34c8f48a454735b613f7e1bc733398952e9c21cf4046bbeaa923d24", "fetched_at": "2026-08-29T12:08:13.357889+00:00", "kind": "site_page", "missing": false, "url": "https://spatie.be/about-us"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T04:50:01.036653+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3577869ac6f16b355c00b0df9256876b176c4de388f589a6afadf92212e22102", "fetched_at": "2026-08-28T04:04:19.347792+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spatie/laravel-image-optimizer"}, {"content_hash": "4a0ae7f7c9b67f686bd2404c1440d0c76e1119903af24daa175ef22ce3ac9a24", "fetched_at": "2026-08-29T12:08:13.353247+00:00", "kind": "homepage", "missing": false, "url": "https://spatie.be/opensource/laravel"}, {"content_hash": "08e024d86d95c41664c322c41f72dd4ffbdb77bdb2593df69b7da9257528b182", "fetched_at": "2026-08-29T12:08:13.356034+00:00", "kind": "site_page", "missing": false, "url": "https://spatie.be/docs"}, {"content_hash": "d3cb88e4b34c8f48a454735b613f7e1bc733398952e9c21cf4046bbeaa923d24", "fetched_at": "2026-08-29T12:08:13.357889+00:00", "kind": "site_page", "missing": false, "url": "https://spatie.be/about-us"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T04:50:01.036653+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3577869ac6f16b355c00b0df9256876b176c4de388f589a6afadf92212e22102", "fetched_at": "2026-08-28T04:04:19.347792+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spatie/laravel-image-optimizer"}, {"content_hash": "4a0ae7f7c9b67f686bd2404c1440d0c76e1119903af24daa175ef22ce3ac9a24", "fetched_at": "2026-08-29T12:08:13.353247+00:00", "kind": "homepage", "missing": false, "url": "https://spatie.be/opensource/laravel"}, {"content_hash": "08e024d86d95c41664c322c41f72dd4ffbdb77bdb2593df69b7da9257528b182", "fetched_at": "2026-08-29T12:08:13.356034+00:00", "kind": "site_page", "missing": false, "url": "https://spatie.be/docs"}, {"content_hash": "d3cb88e4b34c8f48a454735b613f7e1bc733398952e9c21cf4046bbeaa923d24", "fetched_at": "2026-08-29T12:08:13.357889+00:00", "kind": "site_page", "missing": false, "url": "https://spatie.be/about-us"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T04:50:01.036653+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3577869ac6f16b355c00b0df9256876b176c4de388f589a6afadf92212e22102", "fetched_at": "2026-08-28T04:04:19.347792+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spatie/laravel-image-optimizer"}, {"content_hash": "4a0ae7f7c9b67f686bd2404c1440d0c76e1119903af24daa175ef22ce3ac9a24", "fetched_at": "2026-08-29T12:08:13.353247+00:00", "kind": "homepage", "missing": false, "url": "https://spatie.be/opensource/laravel"}, {"content_hash": "08e024d86d95c41664c322c41f72dd4ffbdb77bdb2593df69b7da9257528b182", "fetched_at": "2026-08-29T12:08:13.356034+00:00", "kind": "site_page", "missing": false, "url": "https://spatie.be/docs"}, {"content_hash": "d3cb88e4b34c8f48a454735b613f7e1bc733398952e9c21cf4046bbeaa923d24", "fetched_at": "2026-08-29T12:08:13.357889+00:00", "kind": "site_page", "missing": false, "url": "https://spatie.be/about-us"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 96, "longevity": 100, "rhythm": 39}, "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": 3344, "days_push": 26, "days_rel": 193, "gap_med": 182.5, "n_releases_24m": 3}, "score": 77, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}