Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel Imgix Laravel Package

astrotomic/laravel-imgix

Laravel package that generates Imgix URLs for your images, letting you apply Imgix transformation parameters like resizing, cropping, and format conversion directly from PHP. Integrates with Eloquent models and Blade to simplify responsive image handling.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. buy on image delivery. This package is the "buy" enabler: it makes Imgix (a hosted image CDN + transformation service) a low-friction dependency in a Laravel codebase. It shifts the decision from "do we build an image resizing/proxy service?" to "do we pay for Imgix and write ~a day of integration?" That is usually the correct trade for teams without a dedicated media platform group.
  • Feature work on media-heavy surfaces. Anything that renders many user- or editor-supplied images — product catalogs, CMS/marketing pages, listing marketplaces, multi-tenant sites — gets responsive srcset generation, on-the-fly crop/resize, and automatic format negotiation (WebP/AVIF) without owning transform infrastructure or pre-generating derivative renditions at upload time.
  • Security and compliance posture. Signed-URL support lets you keep Imgix sources private and time-box access, rather than exposing an open transformation endpoint that anyone can burn bandwidth against. This is the decision point for regulated or paid-content imagery.
  • Roadmap / platform-upgrade planning. Release 1.3.0 adds Laravel 12.x compatibility. Concretely, this removes the package as a blocker in a Laravel 12 upgrade and avoids a vendor fork. If Laravel 12 is on the roadmap, this release is the trigger to schedule the upgrade rather than the reason to defer it.
  • Multi-source and environment configuration. Per-environment and multiple source-domain configuration maps cleanly onto staging/production and onto per-tenant or per-brand image sources, which is the usual reason a homegrown helper gets replaced by a package.
  • What it should not drive. This is an enabler, not a differentiator. Do not let it anchor architecture discussions; treat it as replaceable glue and keep the call sites thin so a swap to Cloudflare Images, Cloudinary, or imgproxy stays a contained change.

When to Consider This Package

Adopt when most of the following hold:

  • You are already on Imgix, or have selected it and need the Laravel-side integration.
  • You are on a currently supported Laravel version — 1.3.0 confirms Laravel 12 support, and the wrapper targets the modern framework line (verify the exact PHP/Laravel constraint matrix in composer.json before committing, since the release notes only call out 12.x).
  • Your needs are URL generation and signing: building transformation URLs, Blade/component usage, and signed or expiring links. That is the package's scope.
  • You want configuration-driven source domains rather than hardcoded hostnames scattered through templates.
  • You are comfortable with the vendor relationship: Imgix pricing, egress, and per-source setup are the real cost, not the package.

Look elsewhere or stay in-house when:

  • You are using a different image provider (Cloudinary, Cloudflare Images, imgproxy, Fastly IO). Use that vendor's SDK; this package will not help.
  • You need asset management, not URL construction: uploading, deleting, purging cache, listing, metadata, or the Imgix Management/Source APIs. Those require direct API work on top of this package.
  • Volume or budget does not justify Imgix. Below meaningful traffic, framework-native image handling plus a plain CDN is cheaper and simpler.
  • You need a framework-agnostic or non-Laravel integration, or you are standardizing on a media platform that already has first-party tooling.
  • Maintenance risk tolerance is low. This is a small, single-maintainer OSS wrapper. 1.3.0's compatibility bump came from an external contributor (laravel-shift), which is a healthy signal but also confirms the project relies on community patches for framework churn. For a thin, stable wrapper that risk is acceptable — but pin the version, and do not assume prompt releases for future Laravel majors. Have a fork-and-patch contingency (it is small enough to own if abandoned).

How to Pitch It (Stakeholders)

For executives (one paragraph): We use a small open-source Laravel library that connects our application to Imgix, a hosted image delivery service. It lets us serve correctly sized, modern-format images from a CDN without building or operating our own image-processing infrastructure — the kind of commodity plumbing that is expensive to build and cheap to rent. The 1.3.0 release adds support for Laravel 12, which keeps us on a supported framework version and avoids maintaining a private fork. The library itself is free; the ongoing cost is the Imgix subscription, which scales with traffic. The risk is low and contained: the integration surface is narrow, so switching providers later is a scoped engineering task rather than a re-architecture.

For engineering (short version): Thin wrapper over Imgix URL construction — config-driven source domains, transformation path building, signed URLs, Blade ergonomics. 1.3.0 is a non-breaking compatibility release: Laravel 12 support, no deprecations or API changes noted. Action items: (1) bump and re-run the lockfile, (2) confirm the PHP/Laravel constraint set in composer.json matches our target matrix, (3) keep call sites behind our own thin facade or config so the vendor remains swappable, and (4) add a small test around URL signing and source selection — that is the part that silently breaks and the part with security implications. Note the bus factor: single maintainer, community-driven compatibility patches; pin the version and keep a fork path in mind.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console