tempest/responsive-image
Generate responsive images in PHP and render the correct HTML. Define your source and public paths, create a factory, then output an img tag with a ready-made srcset of scaled sizes. Early work in progress, so expect changes.
srcset markup — behind a small API (ResponsiveImageConfig + ResponsiveImageFactory + $image->html). It supports a decision to ship responsive images at all, and to ship them server-side rather than via manual asset exports or a designer-uploaded set of sizes.Consider it when:
srcset/responsive image implementation and have no image CDN today.ImageRenderer contract — so the dependency is swappable without touching templates.Look elsewhere when:
<picture>/<source media>), LQIP/blurhash placeholders, or signed transform URLs. None of these are in the README; verify before assuming.spatie/laravel-medialibrary or intervention/image plus a CDN; adding a second, earlier-stage image pipeline duplicates responsibility.For executives (1–2 sentences plus the ask): "This is a small, MIT-licensed PHP component that generates the multiple image sizes modern browsers expect and writes the correct HTML for us — the core of an image-speed initiative that affects Core Web Vitals, SEO, and mobile conversion. It's free and easy to trial, but it's explicitly a work in progress with essentially no adoption yet, so I'm recommending a short, time-boxed prototype behind an internal interface rather than a platform commitment. The decision in front of you is not 'adopt this package' — it's 'fund 3–5 engineering days to measure it against a paid image CDN, and revisit at the end of the spike.'"
For engineering (what they're being asked to evaluate):
create('/parrot.jpg')), and a rendered $image->html producing src plus a multi-width srcset. Low integration cost, low lock-in if hidden behind an adapter.How can I help you explore Laravel packages today?