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 Imgix Laravel Package

nasyrov/laravel-imgix

Laravel wrapper for Imgix that simplifies generating image URLs with transformation parameters and signed, secure URLs. Configure image sources, build responsive URLs, and serve optimized images through Imgix directly from your Blade views and PHP code.

Deep Wiki
Context7

Laravel Imgix integrates Imgix with Laravel so you can generate optimized, transformation-ready image URLs from your Imgix sources. Configure sources and signing keys in Laravel, then build URLs with resize, crop, format, and quality parameters from PHP or Blade.

  • Fluent URL builder for Imgix rendering parameters
  • Secure signed URLs for protected sources
  • Laravel-native config, service provider, and facade
  • Helpers for responsive images and srcset markup
  • Support for multiple Imgix sources
Frequently asked questions about Laravel Imgix
How do I install nasyrov/laravel-imgix in a Laravel application?
Install it with Composer, publish the package config, then set your Imgix source domain and signing key through environment values. The package follows Laravel conventions with a service provider and facade or Blade helpers. Because the last release was in 2020, verify PHP and Laravel constraints, auto-discovery, and dependency conflicts on a branch before committing.
Which Laravel and PHP versions does nasyrov/laravel-imgix support?
The package was last released in 2020, so its declared constraints likely target older Laravel and PHP versions. Run composer why-not against your target application and spike the install on a branch to confirm compatibility. Do not assume it works on newer Laravel releases; treat unsupported versions as a fork or vendor risk.
How do I configure Imgix sources and signing keys with this package?
Configuration is published into the Laravel config directory, with the Imgix source domain and signing key typically supplied through environment variables. Keep signing secrets out of source control and document a rotation process, since missing or rotated keys break signed image URLs. Confirm the package exposes the source and signing options your Imgix contract requires.
How do I generate signed Imgix URLs using the facade or Blade helpers?
Use the package facade in controllers or services and the Blade helpers in templates to build transformation URLs. Ensure the signing key is configured so generated URLs are correctly signed, and compare output against your existing Imgix URLs. If you want to reduce coupling, wrap facade calls behind an internal adapter interface.
Can nasyrov/laravel-imgix generate responsive srcset URLs for Imgix?
The package builds Imgix transformation URLs, so responsive srcset output depends on generating multiple width or parameter variants. Verify that it exposes all the Imgix parameters you need for widths, crops, and formats. If it does not, construct srcset values with an internal builder or the official Imgix PHP SDK behind the same adapter.
Is nasyrov/laravel-imgix maintained and safe for production use?
The package is stale, lightly adopted, and has unknown repository metadata, so issue history and maintainer responsiveness cannot be verified. Technical risk is medium-high, though runtime footprint is low and architectural risk is limited if you wrap it behind an internal adapter. Pin the version, assign an internal owner, and plan a fork or vendor path under its MIT license.
How does nasyrov/laravel-imgix compare with the official Imgix PHP SDK?
This package is a thin Laravel adapter offering config-based sources, a facade, and Blade helpers, while the official Imgix PHP SDK is lower-level and not Laravel-specific. The package is convenient for Laravel conventions but stale, so compatibility must be proven with a spike. Wrapping it behind an adapter lets you swap to the official SDK or a small internal URL builder without changing call sites.
What are common failure modes with signed Imgix URLs in Laravel?
Missing or rotated signing keys break images, invalid transformation parameters cause 400 responses or broken renders, and source-domain changes can invalidate URLs. Signed URL expiry policy and CDN cache behavior also affect delivery at scale. Add contract tests for signatures and transformations, and monitor 4xx responses and cache hit rates.
Can I avoid coupling my Laravel code to nasyrov/laravel-imgix?
Yes, define an internal ImageUrlBuilder interface and implement it with this package, then pilot usage behind a feature flag. Keep existing string concatenation as a fallback while you replace direct calls gradually. If compatibility fails, swap the adapter implementation to the official Imgix SDK or an internal URL builder without changing call sites.
How should I test nasyrov/laravel-imgix URL generation and signatures?
Run composer why-not, install the package on a branch, publish config, and test facade and Blade helper output for transformations and signatures. Compare generated URLs and CDN caching against your current implementation, and add tests for signed URL correctness. Treat unsupported Laravel versions as a fork or vendor risk rather than assuming compatibility.
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.
robertmarney/lara-hierarchial-collections
simonschaufi/rule-doc-generator
emissaoja/emissaoja
blackbricksoftware/gravityforms-civicrm-form-processor
al-rahabi/fancy-crud
jinas/dhivatar-component
mltstephane/laravel-quality
bernskiold/laravel-talentlms
bernskioldmedia/laravel-form-architect
youbar/easy-crud
c-point-labs/laravel-hostyourai
dbravoan/dbcms-admin-theme-dbcms
dbravoan/dbcms-theme-db-cyber
dbravoan/dbcms-blocks-basic
dbravoan/dbcms-module-content-audit
dbravoan/dbcms-module-ai-assistant
paygate-to/paygate-php
padosoft/askmydocs-connector-base
defstudio/supercharged-carbon
bernskioldmedia/laravel-matomo