PHPackages                             greenrivers/webp - 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. greenrivers/webp

ActiveMagento2-module

greenrivers/webp
================

Greenrivers Webp

1.1.0(3y ago)133proprietaryPHPPHP &gt;=7.1.0

Since Apr 17Pushed 3y agoCompare

[ Source](https://github.com/greenrivers/magento-module-webp)[ Packagist](https://packagist.org/packages/greenrivers/webp)[ RSS](/packages/greenrivers-webp/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (2)Dependencies (1)Versions (4)Used By (0)

Greenrivers Webp
================

[](#greenrivers-webp)

Magento2 module for images conversion to webp format.

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

[](#requirements)

- PHP &gt;= **7.1**
- Cwebp &gt;= **0.5.2**
- libvips &gt;= **8.4.5**
- Magento &gt;= **2.3**
- Memory limit &gt;= **8GB**

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

[](#installation)

1. Webp support

    ```
    sudo apt-get install libwebp-dev
    sudo apt-get install webp
    ```

    You must also enable GD-support.

    Make sure that You have this extension.

    ```
    sudo apt-get install phpX-gd
    ```

    Where x is PHP version (i. e. 7.1).

    Next configure PHP to enable support for webp format.

    ```
    --with-webp-dir=DIR
    ```
2. Vips extension

    ```
    sudo apt-get install libvips-dev

    pecl install vips
    ```

    Add `extension=vips.so` to **php.ini** file.

    ```
    composer require jcupitt/vips
    ```
3. Module

    ```
    composer require greenrivers/webp

    php bin/magento module:enable Greenrivers_Webp

    php bin/magento setup:upgrade

    php bin/magento setup:di:compile

    php bin/magento setup:static-content:deploy -f
    ```
4. Memory limit

    Increase PHP memory limit to minimum 8GB.

    To achieve this add in app/bootstrap.php:

    `php ini_set('memory_limit', '8192M');`

Usage
-----

[](#usage)

#### **Stores-&gt;Configuration-&gt;GREENRIVERS-&gt;Webp**

[](#stores-configuration-greenrivers-webp)

- **General-&gt;Enabled** - module activation
- **Settings-&gt;Algorithm** - choose one from three method types
- **Settings-&gt;Quality** - quality of converted image
- **Conversion-&gt;Convert images on product save** - if selected, after uploaded images on product page and save product, images will be converted automatically

#### **Content-&gt;Conversion**

[](#content-conversion)

**Convert now**

On left side select catalogs in which images are to be converted.

On right side in **Conversion** tab determine extensions which images are to be converted.

Click **Convert now** button to start conversion.

**Cron**

On left side select catalogs in which images are to be converted.

On right side in **Cron** tab click **Enable** toggle to schedule convert in cron.

Determine cron frequency, time and extensions which images are to be converted.

**Clear**

Click **Clear all** button in **Clear** tab to remove all webp images.

**Save**

Click Save to remember settings also You have to clear cache after this.

#### Catalog-&gt;Products

[](#catalog-products)

Upload images in **Images And Videos** tab.

Update changes by click on **Save** button.

All images assigned to product should be converted.

Due to caching images sometimes requires to save product again for convert all images.

Sources
-------

[](#sources)

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity49

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

Every ~717 days

Total

2

Last Release

1139d ago

PHP version history (2 changes)1.0.0PHP ~7.1.0||~7.2.0||~7.3.0||~7.4.0

1.1.0PHP &gt;=7.1.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/24278909?v=4)[MajorKuprich](/maintainers/MajorKuprich)[@MajorKuprich](https://github.com/MajorKuprich)

---

Top Contributors

[![MajorKuprich](https://avatars.githubusercontent.com/u/24278909?v=4)](https://github.com/MajorKuprich "MajorKuprich (50 commits)")

### Embed Badge

![Health badge](/badges/greenrivers-webp/health.svg)

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

###  Alternatives

[rokka/imagine-vips

libvips adapter for imagine

43564.1k5](/packages/rokka-imagine-vips)[intervention/image-driver-vips

libvips driver for Intervention Image

4495.5k6](/packages/intervention-image-driver-vips)[osiemsiedem/intervention-image-vips-driver

VIPS driver for Intervention Image.

2762.3k1](/packages/osiemsiedem-intervention-image-vips-driver)[joppuyo/vips-image-editor

High performance WordPress image processing with VIPS

292.0k](/packages/joppuyo-vips-image-editor)

PHPackages © 2026

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