id-sign/image-bundle
id-sign/image-bundle is a Composer-installable PHP package that packages image-related functionality as a reusable bundle. It offers a straightforward foundation for adding image handling to PHP applications, helping developers integrate and manage image features with minimal setup.
composer require id-sign/image-bundle:^0.3.0 (or composer update id-sign/image-bundle). No template or config changes are required for this release.bin/console image:purge --force. This is not optional — stale EXIF-rotated metadata and old contain/scale-down breakpoint variants will otherwise keep being served.max_source_bytes, cache directory), the <twig:Image> component, and the image_url() helper. Those cover ~90% of day-to-day usage; the processor is an implementation detail.fit="scale-down" plus autoDimensions and blur, because that combination exercises every behaviour changed in 0.3.0 (effective dimensions, orientation, missing sources, breakpoints).fit="scale-down" for user-uploaded or unknown-size media. It never upscales; as of 0.3.0 the emitted width/height and the w descriptors reflect the actual delivered pixels (source dimensions when the source fits the box), so you can trust them for sizes, layout reservation, and aspect-ratio CSS without a second getimagesize() call.contain / scale-down srcsets for art-directed layouts. Breakpoint heights are now rounded up, so every candidate is at least as wide as its descriptor. You can stop hand-computing breakpoint boxes or post-processing srcset strings.autoDimensions and blur enabled, don't duplicate orientation/dimension logic in your own view models — the renderer now applies EXIF orientation identically to the processor, so attributes and placeholder always agree with the served file.src no longer throws; you get markup without height and without a blur placeholder, and image_url() 404s. Design the surrounding markup so a missing height degrades gracefully (fixed aspect-ratio wrapper, or a CSS background fallback).max_source_bytes still fail loudly — catch those at upload/import time (Laravel validation rules, job-level checks) rather than discovering them in a Blade/Twig render.image:purge --force as part of your deploy step, right after composer update.src throwing during render will now pass silently. Assert on the 404 from image_url() or on the absence of the height attribute instead.max_source_bytes and decodability.<twig:Image> attributes will drift from the delivered file again.How can I help you explore Laravel packages today?