PHPackages                             runelaenen/sw6-media-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. runelaenen/sw6-media-optimizer

ActiveShopware-platform-plugin[Utility &amp; Helpers](/categories/utility)

runelaenen/sw6-media-optimizer
==============================

Media Optimizer for Shopware 6

1.0.1(5y ago)313.5k5[3 issues](https://github.com/runelaenen/sw6-media-optimizer/issues)[1 PRs](https://github.com/runelaenen/sw6-media-optimizer/pulls)MITPHP

Since Dec 18Pushed 2y ago3 watchersCompare

[ Source](https://github.com/runelaenen/sw6-media-optimizer)[ Packagist](https://packagist.org/packages/runelaenen/sw6-media-optimizer)[ Fund](https://buymeacoffee.com/runelaenen)[ GitHub Sponsors](https://github.com/runelaenen)[ RSS](/packages/runelaenen-sw6-media-optimizer/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

Image Optimizer for Shopware 6
==============================

[](#image-optimizer-for-shopware-6)

[![Latest Stable Version](https://camo.githubusercontent.com/9a0bc0334665b76bd1281cbf07d51bac670f0ba6e2a43656a6094b18adf8405a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f72756e656c61656e656e2f7377362d6d656469612d6f7074696d697a65723f636f6c6f723d6c69676874626c7565266c6162656c3d737461626c65266c6f676f3d676974687562)](//packagist.org/packages/runelaenen/sw6-media-optimizer)[![Download plugin zip](https://camo.githubusercontent.com/85ebfb1132a6b33ef646b802fde0b5e83f963a033cdfc03a2e1fff5f00d46108/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f72756e656c61656e656e2f7377362d6d656469612d6f7074696d697a65722e7376673f6c6162656c3d2e7a6970253230646f776e6c6f6164266c6f676f3d676974687562)](https://github.com/runelaenen/sw6-media-optimizer/releases/latest)[![Total Downloads](https://camo.githubusercontent.com/6eba40420f93908f7ab319c45422d4fb78a41eb90f66b0f569dbd170d5450cff/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f72756e656c61656e656e2f7377362d6d656469612d6f7074696d697a65723f6c6162656c3d7061636b6167697374253230646f776e6c6f616473266c6f676f3d636f6d706f736572)](//packagist.org/packages/runelaenen/sw6-media-optimizer)[![GitHub Issues](https://camo.githubusercontent.com/95e29950df1d777146cd82048ef80237f348a5c88732219abf0e948d8f4791f2/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f72756e656c61656e656e2f7377362d6d656469612d6f7074696d697a65723f6c6f676f3d676974687562)](https://github.com/runelaenen/sw6-media-optimizer/issues)[![GitHub Stars](https://camo.githubusercontent.com/f1cbe2969481f8c0c6acd0ca2ba83d2a0ed352f88cffcc5a39da209d20b8995b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f72756e656c61656e656e2f7377362d6d656469612d6f7074696d697a65723f6c6f676f3d676974687562)](https://github.com/runelaenen/sw6-media-optimizer/stargazers)[![License](https://camo.githubusercontent.com/9b6f961171e70a27db4d3355b11a8802d3df641380d3f9804f741ce86e0b935f/68747470733a2f2f706f7365722e707567782e6f72672f72756e656c61656e656e2f7377362d6d656469612d6f7074696d697a65722f6c6963656e7365)](//packagist.org/packages/runelaenen/sw6-media-optimizer)

[![Image Optimizer for Shopware 6](https://user-images.githubusercontent.com/3930922/102516043-b9b34780-408e-11eb-92f1-f9b0bdf70888.png)](https://user-images.githubusercontent.com/3930922/102516043-b9b34780-408e-11eb-92f1-f9b0bdf70888.png)

Optimize image files using [spatie/image-optimizer](https://packagist.org/packages/spatie/image-optimizer). This package can optimize PNGs, JPGs, SVGs and GIFs by running them through a chain of various [image optimization tools](#optimization-tools). This Shopware plugin uses it's power to optimize the original files uploaded to your Shopware webshop. It doesn't touch any generated (thumbnail) files and thus will not have a lot of impact on the frontend of your website.

### Optimization tools

[](#optimization-tools)

The package will use these optimizers if they are present on your system:

- [JpegOptim](http://freecode.com/projects/jpegoptim)
- [Optipng](http://optipng.sourceforge.net/)
- [Pngquant 2](https://pngquant.org/)
- [SVGO](https://github.com/svg/svgo)
- [Gifsicle](http://www.lcdf.org/gifsicle/)
- [cwebp](https://developers.google.com/speed/webp/docs/precompiled)

Please take a look at [the README of spatie/image-optimizer](https://packagist.org/packages/spatie/image-optimizer) to find out how to install these optimizers on your system.

How to install
--------------

[](#how-to-install)

### Composer install (recommended)

[](#composer-install-recommended)

```
composer require runelaenen/sw6-media-optimizer
bin/console plugin:refresh
bin/console plugin:install --activate RuneLaenenMediaOptimizer

```

You can now run the optimizer

```
bin/console rl:media:optimize

```

Tip: use the `--info` option to show all enabled optimizers.

#### Plugin update (composer)

[](#plugin-update-composer)

```
composer update runelaenen/sw6-media-optimizer
bin/console plugin:update RuneLaenenMediaOptimizer

```

### .zip install

[](#zip-install)

1. Download the latest RuneLaenenMediaOptimizer.zip from the [latest release](https://github.com/runelaenen/sw6-media-optimizer/releases/latest).
2. Upload the zip in the Shopware Administration
3. Install &amp; Activate the plugin

#### Plugin update (zip)

[](#plugin-update-zip)

1. Download the latest RuneLaenenMediaOptimizer.zip from the [latest release](https://github.com/runelaenen/sw6-media-optimizer/releases/latest).
2. Upload the zip in the Shopware Administration
3. Update the plugin

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 60% 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

Every ~62 days

Total

2

Last Release

1961d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3930922?v=4)[Rune Laenen](/maintainers/runelaenen)[@runelaenen](https://github.com/runelaenen)

---

Top Contributors

[![BrentRobert](https://avatars.githubusercontent.com/u/6866325?v=4)](https://github.com/BrentRobert "BrentRobert (3 commits)")[![runelaenen](https://avatars.githubusercontent.com/u/3930922?v=4)](https://github.com/runelaenen "runelaenen (2 commits)")

---

Tags

shopwareshopware-platform-pluginshopware-pluginshopware-pluginsshopware6shopware6-plugin

### Embed Badge

![Health badge](/badges/runelaenen-sw6-media-optimizer/health.svg)

```
[![Health](https://phpackages.com/badges/runelaenen-sw6-media-optimizer/health.svg)](https://phpackages.com/packages/runelaenen-sw6-media-optimizer)
```

###  Alternatives

[pimcore/pimcore

Content &amp; Product Management Framework (CMS/PIM/E-Commerce)

3.8k3.8M508](/packages/pimcore-pimcore)[spatie/image

Manipulate images with an expressive API

1.4k60.7M188](/packages/spatie-image)[code16/sharp

Laravel Content Management Framework

79164.7k8](/packages/code16-sharp)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

9421.6k61](/packages/open-dxp-opendxp)[mostafaznv/larupload

Larupload is a ORM based file uploader for laravel to upload image, video, audio and other known files.

75462.1k6](/packages/mostafaznv-larupload)[outl1ne/nova-media-hub

A Laravel Nova tool for managing media.

4656.0k](/packages/outl1ne-nova-media-hub)

PHPackages © 2026

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