PHPackages                             webmen/silverstripe-webp-images - 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. webmen/silverstripe-webp-images

Abandoned → [wedevelopnl/silverstripe-webp-images](/?search=wedevelopnl%2Fsilverstripe-webp-images)Library[Image &amp; Media](/categories/media)

webmen/silverstripe-webp-images
===============================

webp images module

2.0.1(2y ago)36.7k—6.2%7[1 PRs](https://github.com/wedevelopnl/silverstripe-webp-images/pulls)PHPPHP ^8.1

Since Sep 2Pushed 2y ago4 watchersCompare

[ Source](https://github.com/wedevelopnl/silverstripe-webp-images)[ Packagist](https://packagist.org/packages/webmen/silverstripe-webp-images)[ RSS](/packages/webmen-silverstripe-webp-images/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (2)Versions (17)Used By (0)

silverstripe-webp-images
========================

[](#silverstripe-webp-images)

This SilverStripe module generates webp images from resized jpeg and png images.

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

[](#requirements)

- See `composer.json` requirements
- GD with webp support

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

[](#installation)

- `composer require wedevelopnl/silverstripe-webp-images`

Next, you'll need to run a `dev/build` (or at least `flush`) to allow access to files with the `.webp` extension from the `.htaccess` in your `assets` directory.

Known issues
------------

[](#known-issues)

### Using `$Image.DisableWebP` in a template

[](#using-imagedisablewebp-in-a-template)

Putting `$Image.DisableWebP` in a template will not work, this somehow calls getUrl twice, properly disabling the webp URL generation on the first run, but actually outputting the second run after which the disabled flag will have been removed. A workaround for this is to use ``

License
-------

[](#license)

See [License](LICENSE)

Maintainers
-----------

[](#maintainers)

- [WeDevelop](https://www.wedevelop.nl/)

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

[](#configuration)

```
SilverStripe\Core\Injector\Injector:
  WeDevelop\WebpImages\WebpGenerator:
    properties:
      enabled: true
      quality: 80
```

To disable generating webp images in code

```
WebpGenerator::singleton()->setEnabled(false)
```

Development and contribution
----------------------------

[](#development-and-contribution)

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. See read our [contributing](CONTRIBUTING.md) document for more information.

### Getting started

[](#getting-started)

We advise to use [Docker](https://docker.com)/[Docker compose](https://docs.docker.com/compose/) for development.
We also included a [Makefile](https://www.gnu.org/software/make/) to simplify some commands

Our development container contains some built-in tools like `PHPCSFixer`.

#### Getting development container up

[](#getting-development-container-up)

`make build` to build the Docker container and then run detached.
If you want to only get the container up, you can simply type `make up`.

You can SSH into the container using `make sh`.

#### All make commands

[](#all-make-commands)

You can run `make help` to get a list with all available `make` commands.

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~58 days

Recently: every ~17 days

Total

14

Last Release

952d ago

Major Versions

v0.6 → 1.02023-01-02

v0.8 → 2.0.02023-07-27

v0.6.1 → 2.0.12023-10-03

PHP version history (4 changes)v0.1PHP ^7.4

v0.5PHP &gt;=7.4

1.0PHP &gt;=8.1

2.0.0PHP ^8.1

### Community

Maintainers

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

---

Top Contributors

[![Dennisprins93](https://avatars.githubusercontent.com/u/9679179?v=4)](https://github.com/Dennisprins93 "Dennisprins93 (7 commits)")[![robertvanlienden](https://avatars.githubusercontent.com/u/27813145?v=4)](https://github.com/robertvanlienden "robertvanlienden (6 commits)")[![erikfrerejean](https://avatars.githubusercontent.com/u/197732?v=4)](https://github.com/erikfrerejean "erikfrerejean (3 commits)")[![rskuipers](https://avatars.githubusercontent.com/u/1918518?v=4)](https://github.com/rskuipers "rskuipers (2 commits)")[![floriskroeze](https://avatars.githubusercontent.com/u/74931640?v=4)](https://github.com/floriskroeze "floriskroeze (2 commits)")[![renskorswagen](https://avatars.githubusercontent.com/u/5188287?v=4)](https://github.com/renskorswagen "renskorswagen (2 commits)")[![micschk](https://avatars.githubusercontent.com/u/1005986?v=4)](https://github.com/micschk "micschk (1 commits)")[![mirche97](https://avatars.githubusercontent.com/u/1713050?v=4)](https://github.com/mirche97 "mirche97 (1 commits)")[![natschb](https://avatars.githubusercontent.com/u/54748165?v=4)](https://github.com/natschb "natschb (1 commits)")

---

Tags

silverstripeimagesWebp

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/webmen-silverstripe-webp-images/health.svg)

```
[![Health](https://phpackages.com/badges/webmen-silverstripe-webp-images/health.svg)](https://phpackages.com/packages/webmen-silverstripe-webp-images)
```

###  Alternatives

[rosell-dk/webp-convert

Convert JPEG &amp; PNG to WebP with PHP

6038.1M54](/packages/rosell-dk-webp-convert)[rosell-dk/webp-convert-cloud-service

Cloud service for converting JPEG &amp; PNG to WebP

545.6k3](/packages/rosell-dk-webp-convert-cloud-service)[codeblog/conveter-php-webp

Easy WebP conversion library for PHP

124.1k1](/packages/codeblog-conveter-php-webp)

PHPackages © 2026

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