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 2d 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 26% of packages

Maintenance31

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity42

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

726d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7912591?v=4)[Federico Sfiligoi](/maintainers/sfili81)[@sfili81](https://github.com/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

[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[trntv/yii2-glide

Yii2 Glide Extension

43276.3k9](/packages/trntv-yii2-glide)[skeeks/cms

SkeekS CMS — control panel and tools based on php framework Yii2

13825.8k59](/packages/skeeks-cms)[raoul2000/yii2-jcrop-widget

This extension is a wrapper for the jQuery Image Cropping Plugin (jcrop)

11270.3k2](/packages/raoul2000-yii2-jcrop-widget)[noam148/yii2-image-resize

A Yii2 component for resizing images (on the fly)

1045.1k7](/packages/noam148-yii2-image-resize)

PHPackages © 2026

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