Yireo_Webp2GraphQl

PHP 8.2 - 8.5
Magento 2.4.6 - 2.4.9
CSP Yes
License OSL-3.0
Latest Release 1.0.5

Magento 2 module for extending Yireo Webp2 with GraphQL support

Installation

composer require yireo/magento2-webp2-graph-ql
bin/magento module:enable Yireo_Webp2GraphQl

Usage in GraphQL

For every regular image URL, append a _webp variant to your query:

query {
  products(search:"a", pageSize: 1){
    items {
      sku
      name
      media_gallery {
        url
        url_webp
      }
    }
  }
}

Current status

Magento 2 Integration Tests success
Playwright test success
Magento 2 Static Tests success
Magento 2 Unit Tests success
Magento 2 DI compilation success

Support

For getting support, create an Issue under the following project URL:

https://github.com/yireo/Yireo_Webp2GraphQl

Composer details
Magento module name
Yireo_Webp2GraphQl
Composer name
yireo/magento2-webp2-graph-ql
Composer version
1.0.5
Default branch
master
Requirements
magento/framework: ^102.0|^103.0
php: >=8.2 <8.6
yireo/magento2-webp2: ^0.14
Releases
1.0.5 06 November 2026
1.0.4 06 November 2026
1.0.3 06 November 2026
Changelog

[1.0.5] - 20 October 2025

Fixed

  • Copy generic CI/CD files
  • PHP 8.4 compatibility

[1.0.4]

  • Earlier releases

Last modified: October 17, 2026