PHPackages                             danieladarve/twig-webp-filter - 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. [Templating &amp; Views](/categories/templating)
4. /
5. danieladarve/twig-webp-filter

ActiveCraft-plugin[Templating &amp; Views](/categories/templating)

danieladarve/twig-webp-filter
=============================

Adds a twig function that returns an Object containing webp and img data

0.0.1(5y ago)11MITPHP

Since Oct 10Pushed 5y ago1 watchersCompare

[ Source](https://github.com/danieladarve/twig-webp-filter)[ Packagist](https://packagist.org/packages/danieladarve/twig-webp-filter)[ RSS](/packages/danieladarve-twig-webp-filter/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (2)Versions (3)Used By (0)

Twig Webp Filter plugin for Craft CMS 3.x
=========================================

[](#twig-webp-filter-plugin-for-craft-cms-3x)

Returns an Object containing webp and img data

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

[](#requirements)

This plugin requires Craft CMS 3.5 or later.

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

[](#installation)

To install the plugin, follow these instructions.

1. Open your terminal and go to your Craft project:

    ```
     cd /path/to/project

    ```
2. Then tell Composer to load the plugin:

    ```
     composer require danieladarve/twig-webp-filter

    ```
3. In the Control Panel, go to Settings → Plugins and click the “Install” button for Twig Webp Filter.

Twig Webp Filter Overview
-------------------------

[](#twig-webp-filter-overview)

Accepts an instance of craft\\elements\\Asset `{% set imageObject = webp(image.one()) %}`

Brought to you by [Daniel G Adarve](https://github.com/danieladarve)

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity46

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

Unknown

Total

1

Last Release

2094d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/54af669e7e12b7aff79e59da0a47f5fc6cc5cc5cb7b7c6ee825ed9296bdd462f?d=identicon)[danieladarve](/maintainers/danieladarve)

---

Top Contributors

[![danieladarve](https://avatars.githubusercontent.com/u/22025439?v=4)](https://github.com/danieladarve "danieladarve (1 commits)")

---

Tags

cmsCraftcraftcmscraft-plugintwig webp filter

### Embed Badge

![Health badge](/badges/danieladarve-twig-webp-filter/health.svg)

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

###  Alternatives

[verbb/formie

The most user-friendly forms plugin for Craft.

102393.6k70](/packages/verbb-formie)[wbrowar/guide

A CMS Guide for Craft CMS.

6154.7k1](/packages/wbrowar-guide)[verbb/vizy

A flexible visual editor field for Craft.

4250.4k](/packages/verbb-vizy)[verbb/hyper

A user-friendly links field for Craft.

24147.8k12](/packages/verbb-hyper)[verbb/footnotes

Adds a footnotes feature to CKEditor fields and Twig templates.

213.6k](/packages/verbb-footnotes)[verbb/events

A full-featured plugin for event management and ticketing.

2311.9k](/packages/verbb-events)

PHPackages © 2026

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