PHPackages                             sfili81/image-converter - 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. sfili81/image-converter

ActiveYii2-extension[Image &amp; Media](/categories/media)

sfili81/image-converter
=======================

first extension

V1.0.1(1y ago)022BSD-2-ClausePHP

Since Jul 8Pushed 1y ago1 watchersCompare

[ Source](https://github.com/sfili81/imageConverter)[ Packagist](https://packagist.org/packages/sfili81/image-converter)[ RSS](/packages/sfili81-image-converter/feed)WikiDiscussions main Synced 1mo ago

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

\#Image converter on the fly

==========================

This widget generates (if note exist) images with extension webp and avif.

Installation

---

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

```
php composer.phar require --prefer-dist sfili81/image-converter "*"

```

or add

```
"sfili81/image-converter": "*"

```

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

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

```
use sfili81\ImgConverter\ImgConverter;
//..

echo ImgConverter::widget(['src'=>'/path/to/image/image.jpg', 'options'=>['class' => 'my-css-class', 'alt' => 'My Image']]);
```

This will generate :

```

```

You can pass `.png` or `.jpg` file to the widget. If you pass a `.webp` or `.avif` image the widget skip the image generation and return the following code:

```

```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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

Total

2

Last Release

672d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/dd9f38f5c03b9d1c258eb1b243a54e81894fb3675161ef8e8b512355595a43b2?d=identicon)[sfili81](/maintainers/sfili81)

---

Top Contributors

[![sfili81](https://avatars.githubusercontent.com/u/7912591?v=4)](https://github.com/sfili81 "sfili81 (15 commits)")

---

Tags

yii2extension

### Embed Badge

![Health badge](/badges/sfili81-image-converter/health.svg)

```
[![Health](https://phpackages.com/badges/sfili81-image-converter/health.svg)](https://phpackages.com/packages/sfili81-image-converter)
```

###  Alternatives

[trntv/yii2-glide

Yii2 Glide Extension

41269.5k9](/packages/trntv-yii2-glide)[bilginnet/yii2-cropper

Yii2 Bootstrap Cropper Input Widget

2232.1k](/packages/bilginnet-yii2-cropper)[maxmirazh33/yii2-uploadable-cropable-image

Yii2 extension for upload and crop images

1020.8k](/packages/maxmirazh33-yii2-uploadable-cropable-image)[developit/yii2-jcrop

 yii2 image cropping extension

101.5k](/packages/developit-yii2-jcrop)

PHPackages © 2026

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