PHPackages                             spacecatninja/imager-x-imageoptim-optimizer - 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. spacecatninja/imager-x-imageoptim-optimizer

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

spacecatninja/imager-x-imageoptim-optimizer
===========================================

ImageOptim optimizer for Imager X

1.0.0(5y ago)12.8kMITPHP

Since Mar 31Pushed 5y ago1 watchersCompare

[ Source](https://github.com/spacecatninja/craft-imager-x-imageoptim-optimizer)[ Packagist](https://packagist.org/packages/spacecatninja/imager-x-imageoptim-optimizer)[ RSS](/packages/spacecatninja-imager-x-imageoptim-optimizer/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

ImageOptim optimizer for Imager X
=================================

[](#imageoptim-optimizer-for-imager-x)

A plugin for adding an optimizer that uses [ImageOptim](https://imageoptim.com/api) to Imager X.
Also, an example of [how to make a custom optimizer for Imager X](https://imager-x.spacecat.ninja/extending.html#optimizers).

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

[](#requirements)

This plugin requires Craft CMS 3.3.0 or later, and Imager X 3.0 or later.

*Please note, this optimizer was previously part of Imager X' core, but has been separated out because the underlying PHP package doesn't support PHP 8.0. Until it does, you're currently locked into PHP 7.x if you continue using this optimizer.*

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

[](#installation)

To install the plugin, follow these instructions:

1. Install with composer via `composer require spacecatninja/imager-x-imageoptim-optimizer` from your project directory.
2. Install the plugin in the Craft Control Panel under Settings &gt; Plugins, or from the command line via `./craft plugin/install imager-x-imageoptim-optimizer`.

Usage
-----

[](#usage)

After installing the plugin, you can use the `imageoptim` optimzier in your imager-x.php config file the same way as you would any other optimizer:

```
'optimizers' => ['imageoptim'],
'optimizerConfig' => [
    'imageoptim' => [
        'extensions' => ['png', 'jpg', 'gif'],
        'apiUsername' => 'yourusername',
        'quality' => 'medium'
    ],
],

```

Price, license and support
--------------------------

[](#price-license-and-support)

The plugin is released under the MIT license. It requires Imager X, which is a commercial plugin [available in the Craft plugin store](https://plugins.craftcms.com/imager-x). If you need help, or found a bug, please post an issue in this repo, or in Imager X' repo.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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

1864d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/806fbb515be53ddbca1d658f1abe7f8ddd41d77b72eec8aa85800db3a03e7e35?d=identicon)[spacecatninja](/maintainers/spacecatninja)

---

Top Contributors

[![aelvan](https://avatars.githubusercontent.com/u/2675644?v=4)](https://github.com/aelvan "aelvan (1 commits)")

---

Tags

cmsCraftcraftcmscraft-pluginoptimizerimager-ximageoptim

### Embed Badge

![Health badge](/badges/spacecatninja-imager-x-imageoptim-optimizer/health.svg)

```
[![Health](https://phpackages.com/badges/spacecatninja-imager-x-imageoptim-optimizer/health.svg)](https://phpackages.com/packages/spacecatninja-imager-x-imageoptim-optimizer)
```

###  Alternatives

[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)[nystudio107/craft-youtubeliveembed

This plugin allows you to embed a YouTube live stream and/or live chat on your webpage

163.7k](/packages/nystudio107-craft-youtubeliveembed)

PHPackages © 2026

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