PHPackages                             rsmclaren/silverstripe-kraken - 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. rsmclaren/silverstripe-kraken

ActiveSilverstripe-module

rsmclaren/silverstripe-kraken
=============================

Use the kraken API to optimize images

1372[1 issues](https://github.com/rsmclaren/silverstripe-kraken/issues)PHP

Since Apr 26Pushed 9y ago2 watchersCompare

[ Source](https://github.com/rsmclaren/silverstripe-kraken)[ Packagist](https://packagist.org/packages/rsmclaren/silverstripe-kraken)[ RSS](/packages/rsmclaren-silverstripe-kraken/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Kraken Image Optimization Module
================================

[](#kraken-image-optimization-module)

Maintainer Contact
------------------

[](#maintainer-contact)

- Ryan McLaren &lt;ryansm (at) outlook (dot) com&gt;

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

[](#requirements)

- SilverStripe &gt;= 3.1
- Kraken.io library for PHP

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

[](#installation)

- Extract all files into a folder called "kraken" under your SilverStripe root. Install the Kraken PHP API into a folder called "vendor" under your Silverstripe root, or use composer (recommended):

```
composer require rsmclaren/silverstripe-kraken

```

- Run dev/build?flush=all
- Sign up for the [Kraken API](http://kraken.io/plans/) and obtain your unique API Key and API Secret
- Enter your API Key and API Secret in the Settings &gt; Kraken Tab fields

Usage
-----

[](#usage)

After setting up your API keys, images will be automatically optimized using the Kraken API. You will likely notice that Uploading Images is slower after activating the module.

Existing images can be optimized using the Optimize Images button located in the Files section of the CMS. Individual images can also be optimized by viewing their details page and clicking the Optimize button.

You can enable the Kraken API Sandbox by using the following in your config.yml.

```
Kraken:
    dev: true

```

You can read more about the API Sandbox at .

If you are using a version of SilverStripe &lt;= 3.1.5 you must set the Image backend through your \_config.php

```
Image::set_backend('KrakenGDBackend'); //for GD
Image::set_backend('KrakenImagickBackend'); // for ImageMagick

```

Notes
-----

[](#notes)

Please note that images optimized using this module are replaced. A backup of the original, unoptimized image will not be saved. Please consider creating a backup of your assets folder before using this module.

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/7b9760d863a67d3ef3d65758d31e5c9263954d105124d5aee2515301960f4d97?d=identicon)[rsmclaren](/maintainers/rsmclaren)

---

Top Contributors

[![rsmclaren](https://avatars.githubusercontent.com/u/1579625?v=4)](https://github.com/rsmclaren "rsmclaren (16 commits)")

### Embed Badge

![Health badge](/badges/rsmclaren-silverstripe-kraken/health.svg)

```
[![Health](https://phpackages.com/badges/rsmclaren-silverstripe-kraken/health.svg)](https://phpackages.com/packages/rsmclaren-silverstripe-kraken)
```

PHPackages © 2026

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