PHPackages                             kudja/magento2-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. [Image &amp; Media](/categories/media)
4. /
5. kudja/magento2-webp

ActiveMagento2-module[Image &amp; Media](/categories/media)

kudja/magento2-webp
===================

Magento 2 WebP image optimizer

v0.1.2(11mo ago)3271OSL-3.0PHPPHP &gt;=8.0

Since May 12Pushed 11mo ago1 watchersCompare

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

READMEChangelog (2)DependenciesVersions (4)Used By (0)

Magento 2 WebP Image Optimizer
==============================

[](#magento-2-webp-image-optimizer)

A lightweight Magento 2 module that automatically replaces `.jpg` and `.png` images with `.webp` equivalents in HTML and JSON responses.
Conversion happens in the background, ensuring fast page loads and compatibility with all modern and legacy browsers.

Highlights
----------

[](#highlights)

- **Seamless Integration**: Replaces image URLs in page output using efficient HTML/JSON parsing. No template overrides or theme changes required.
- **Performance-Oriented**: Designed to operate with negligible impact on response times, ensuring a seamless user experience.
- **Asynchronous WebP Conversion**: Original images are queued for background conversion via cron jobs — no delay for users.
- **Frontend Compatibility**: Works with Magento core features like fotorama, swatches, and ajax cart, sections etc.
- **Third-Party Extensions**: Designed to work independently, minimizing conflicts with other modules.
- **Browser Support**: Automatically serves original images to browsers lacking WebP support via a JavaScript fallback.

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

[](#installation)

```
composer require kudja/magento2-webp
bin/magento module:enable Kudja_Webp
bin/magento setup:upgrade
```

### Install `cwebp`

[](#install-cwebp)

Ubuntu/Debian:

```
sudo apt install webp
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance50

Moderate activity, may be stable

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity34

Early-stage or recently created project

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

Total

3

Last Release

356d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2396f05d3fcd4ee03182bb8c7b874d8e7826e014aa662cc9f83bfecd657a69af?d=identicon)[kudja](/maintainers/kudja)

---

Top Contributors

[![kudja](https://avatars.githubusercontent.com/u/8101375?v=4)](https://github.com/kudja "kudja (8 commits)")

---

Tags

ecommercemage-osmage-os-extensionmagentomagento2magento2-extensionmagento2-modulemagento2-module-freepagespeedperformanceweb-vitalsmagentoWebpmagento 2Kudja

### Embed Badge

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

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

###  Alternatives

[rosell-dk/webp-convert

Convert JPEG &amp; PNG to WebP with PHP

6038.1M54](/packages/rosell-dk-webp-convert)[yireo/magento2-next-gen-images

Magento 2 module to add NextGen images support to the Magento frontend

471.1M2](/packages/yireo-magento2-next-gen-images)[choowx/rasterize-svg

A PHP library for converting SVG to JPEG, PNG, and WEBP

2261.7k](/packages/choowx-rasterize-svg)[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)[somehow-digital/typo3-media-processing

Media Processing

101.1k](/packages/somehow-digital-typo3-media-processing)

PHPackages © 2026

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