PHPackages                             prosite01/yii2-easy-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. prosite01/yii2-easy-webp

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

prosite01/yii2-easy-webp
========================

The converter allows one line to display the html tag &lt;picture&gt; containing the source file and webp

v1.2(3y ago)0828↓33.3%Apache-2.0PHP

Since Oct 23Pushed 3y ago1 watchersCompare

[ Source](https://github.com/prosite01/yii2-easy-webp)[ Packagist](https://packagist.org/packages/prosite01/yii2-easy-webp)[ RSS](/packages/prosite01-yii2-easy-webp/feed)WikiDiscussions master Synced 1mo ago

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

JPG, PNG and GIF to WEBP converter
==================================

[](#jpg-png-and-gif-to-webp-converter)

The converter allows one line to display the html tag `` containing the source file and webp

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
composer require --prefer-dist prosite01/yii2-easy-webp "dev-master"

```

or add

```
"prosite01/yii2-easy-webp": "dev-master"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

Once the extension is installed, simply use it in your code by :

```
