PHPackages                             fostercommerce/imagerx-imgproxy - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Image &amp; Media](/categories/media)
4. /
5. fostercommerce/imagerx-imgproxy

AbandonedArchivedCraft-plugin[Image &amp; Media](/categories/media)

fostercommerce/imagerx-imgproxy
===============================

1.0.0(1y ago)03.9kMITPHPPHP ^8.2CI passing

Since Apr 21Pushed 5mo agoCompare

[ Source](https://github.com/FosterCommerce/imagerx-imgproxy)[ Packagist](https://packagist.org/packages/fostercommerce/imagerx-imgproxy)[ RSS](/packages/fostercommerce-imagerx-imgproxy/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (6)Versions (2)Used By (0)

Important

This package is no longer actively maintained. The Foster Commerce team has transitioned our projects over to [Small Pics](https://www.smallpics.io) using their official [Imager X transformer](https://github.com/SmallPics/imagerx-smallpics).

Imager X Imgproxy Transformer
=============================

[](#imager-x-imgproxy-transformer)

This module provides an [imgproxy](https://imgproxy.net/) transformer for [Imager X](https://github.com/spacecatninja/craft-imager-x).

Requirements
------------

[](#requirements)

- Craft CMS 5.0.0+
- Imager X 5.1.0+
- PHP 8.2+

Installation
------------

[](#installation)

```
composer require fostercommerce/imagerx-imgproxy
php craft plugin/install imagerx-imgproxy
```

Configuration
-------------

[](#configuration)

Add the imgproxy configuration to your Imager X Imgproxy transformer config file (`config/imagerx-imgproxy.php`):

```
return [
    'baseUrl' => getenv('IMGPROXY_BASE_URL'),
    'key' => getenv('IMGPROXY_KEY') ?: null,
    'salt' => getenv('IMGPROXY_SALT') ?: null,
    'customSignature' => getenv('IMGPROXY_CUSTOM_SIGNATURE') ?: null,
    'encoded' => true,
    'defaultParams' => [],
];
```

Usage
-----

[](#usage)

Once installed and configured, you can use the transformer with Imager X:

```
{% set transformedImages = craft.imagerx.transformImage(rawImage, [
  { width: 74, height: 74 },
  { width: 120, height: 120 },
  { width: 172, height: 172 },
  { width: 254, height: 254 }
], {
  mode: 'crop',
  transformerParams: {
    padding: 10,
    background: '255:0:0',
  },
}) %}
```

Notes
-----

[](#notes)

Take a look at the Imgproxy [processing options](https://docs.imgproxy.net/usage/processing#processing-options) for a list of available options to use in the `defaultParams` and `transformerParams` arrays.

This transformer uses [fostercommerce/imgproxy](https://github.com/fostercommerce/imgproxy-php) under the hood. Take a look there for more usage information.

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance62

Regular maintenance activity

Popularity16

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

384d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9ac5b96165dd51aed8f0b9ea079d5d5beeb430a915cd07d645db0a228b0ac3aa?d=identicon)[fostercommerce](/maintainers/fostercommerce)

---

Top Contributors

[![johnnynotsolucky](https://avatars.githubusercontent.com/u/4161106?v=4)](https://github.com/johnnynotsolucky "johnnynotsolucky (10 commits)")

###  Code Quality

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/fostercommerce-imagerx-imgproxy/health.svg)

```
[![Health](https://phpackages.com/badges/fostercommerce-imagerx-imgproxy/health.svg)](https://phpackages.com/packages/fostercommerce-imagerx-imgproxy)
```

###  Alternatives

[nystudio107/craft-imageoptimize

Automatically create &amp; optimize responsive image transforms, using either native Craft transforms or a service like imgix, with zero template changes.

232337.2k16](/packages/nystudio107-craft-imageoptimize)[spacecatninja/imager-x

Ninja powered image transforms.

29390.0k23](/packages/spacecatninja-imager-x)[doublesecretagency/craft-googlemaps

Maps in minutes. Powered by the Google Maps API.

1267.9k](/packages/doublesecretagency-craft-googlemaps)[ether/splash

Quickly and easily get beautiful Unsplash images in Craft!

2220.8k1](/packages/ether-splash)[craftsnippets/craft-image-toolbox

Image toolbox

1716.6k](/packages/craftsnippets-craft-image-toolbox)[dodecastudio/craft-blurhash

Render a BlurHash from a given image.

1214.9k2](/packages/dodecastudio-craft-blurhash)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
