PHPackages                             axllent/silverstripe-image-optimiser - 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. [File &amp; Storage](/categories/file-storage)
4. /
5. axllent/silverstripe-image-optimiser

ActiveSilverstripe-vendormodule[File &amp; Storage](/categories/file-storage)

axllent/silverstripe-image-optimiser
====================================

Automatically optimise all uploaded &amp; resampled images in Silverstripe

1.0.6(10mo ago)1118.4k↓22.2%32MITPHP

Since Mar 22Pushed 10mo ago2 watchersCompare

[ Source](https://github.com/axllent/silverstripe-image-optimiser)[ Packagist](https://packagist.org/packages/axllent/silverstripe-image-optimiser)[ Docs](https://github.com/axllent/silverstripe-image-optimiser)[ RSS](/packages/axllent-silverstripe-image-optimiser/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (5)Dependencies (3)Versions (8)Used By (2)

Optimised images for Silverstripe
=================================

[](#optimised-images-for-silverstripe)

A module to automatically optimise/compress uploaded as well as any resampled (cropped, scaled etc) images in Silverstripe. Images (JPG, PNG &amp; GIF) are automatically optimised, provided you have the correct binaries installed (see "Installation" below).

The module overrides the default `FlysystemAssetStore` to and transparently optimises the image before adding the image to the store.

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

[](#requirements)

- `silverstripe/framework` ^4.0 || ^5.0 || ^6.0
- `silverstripe/assets` ^1.10 || ^2.0 || ^3.0
- [spatie/image-optimizer](https://github.com/spatie/image-optimizer) - automatically installed
- JpegOptim, Optipng, Pngquant 2 &amp; Gifsicle binaries (see below)

Optimisation tools
------------------

[](#optimisation-tools)

The module uses [spatie/image-optimizer](https://github.com/spatie/image-optimizer) and will use the following optimisers if they are both present and in your default path on your system:

- [JpegOptim](https://github.com/tjko/jpegoptim)
- [Optipng](http://optipng.sourceforge.net/)
- [Pngquant 2](https://pngquant.org/)
- [Gifsicle](http://www.lcdf.org/gifsicle/)

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

[](#installation)

```
composer require axllent/silverstripe-image-optimiser
```

### Installing the utilities on Ubuntu:

[](#installing-the-utilities-on-ubuntu)

```
sudo apt-get install jpegoptim optipng pngquant gifsicle
```

### Installing the utilities on Alpine Linux:

[](#installing-the-utilities-on-alpine-linux)

```
apk add jpegoptim optipng pngquant gifsicle
```

Usage
-----

[](#usage)

Assuming you have the necessary binaries installed, it should "just work" with the default settings once you have flushed your Silverstripe installation.

For custom optimisation settings, please refer to the [Configuration documentation](docs/en/Configuration.md).

###  Health Score

45

—

FairBetter than 93% of packages

Maintenance53

Moderate activity, may be stable

Popularity34

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 95.8% 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 ~381 days

Recently: every ~570 days

Total

7

Last Release

327d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1463435?v=4)[Ralph Slooten](/maintainers/axllent)[@axllent](https://github.com/axllent)

---

Top Contributors

[![axllent](https://avatars.githubusercontent.com/u/1463435?v=4)](https://github.com/axllent "axllent (23 commits)")[![TheBnl](https://avatars.githubusercontent.com/u/1334195?v=4)](https://github.com/TheBnl "TheBnl (1 commits)")

---

Tags

image-optimizationsilverstripe-moduleimagesilverstripecompressuploadoptimisation

### Embed Badge

![Health badge](/badges/axllent-silverstripe-image-optimiser/health.svg)

```
[![Health](https://phpackages.com/badges/axllent-silverstripe-image-optimiser/health.svg)](https://phpackages.com/packages/axllent-silverstripe-image-optimiser)
```

###  Alternatives

[axllent/silverstripe-scaled-uploads

Automatically scale down and rotate uploaded images for Silverstripe

2580.3k8](/packages/axllent-silverstripe-scaled-uploads)[unclecheese/dropzone

An HTML5 upload field for the CMS and frontend forms.

46130.7k6](/packages/unclecheese-dropzone)[unclecheese/silverstripe-kickassets

Provides an alternative file management interface for SilverStripe CMS with drag-and-drop, multi-selection, and several other desktop-like UI conventions.

4728.3k1](/packages/unclecheese-silverstripe-kickassets)[silverstripe/selectupload

Enables files to be uploaded into a user-designated folder

2779.1k1](/packages/silverstripe-selectupload)[unclecheese/kickassets

Provides an alternative file management interface for SilverStripe CMS with drag-and-drop, multi-selection, and several other desktop-like UI conventions.

464.0k](/packages/unclecheese-kickassets)[ranky/media-bundle

A complete and friendly media file manager for Symfony

681.3k](/packages/ranky-media-bundle)

PHPackages © 2026

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