PHPackages                             seiweb/yii2-image - 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. seiweb/yii2-image

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

seiweb/yii2-image
=================

Simple Image Uploader

1.0.0(6y ago)03BSD-3-ClausePHP

Since Jan 1Pushed 10mo ago1 watchersCompare

[ Source](https://github.com/seiweb/yii2-image)[ Packagist](https://packagist.org/packages/seiweb/yii2-image)[ RSS](/packages/seiweb-yii2-image/feed)WikiDiscussions master Synced 3w ago

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

### Установка

[](#установка)

```
$ composer require seiweb/yii2-image "*"

```

### Настройка

[](#настройка)

```
 'modules'=>[
        'swb_image' => [
            'class' => 'seiweb\image\Module',
            'components'=>[
                'storage'=>[
                    'class'=>'common\CustomStorage',
                    'originalDor'=>'_original', // сюда складываются оригиналы
                    'cacheDir'=>'_modified', //сюда складываются всякие превью
                ],
                'imageManager'=>[
                    'class'=>\Intervention\Image\ImageManager::class,
                    'config'=>['driver'=>'imagick'] //or imagick
                ]
            ],
            'originalResizeTo'=>[1280,768], //уменьшать загружаемый файл до
            'maxFileCount'=>15,
            //'watermarkFilePath' => '@frontend/web/uploads/watermark.png',
            'watermarkOpacity'=>20,
            'uploadFileMaxSize'=>1000*1000*2
        ],
    ]

```

### Применение миграций

[](#применение-миграций)

```
 php yii migrate/up --migrationPath=@seiweb/image/migrations

```

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance40

Moderate activity, may be stable

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

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

2374d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/610c6c0203541e4a58ec60e45d3cf1fa2d031afd4a49158741f4cadf002fc9ac?d=identicon)[seiweb](/maintainers/seiweb)

---

Top Contributors

[![seiweb](https://avatars.githubusercontent.com/u/2038999?v=4)](https://github.com/seiweb "seiweb (34 commits)")

---

Tags

imagesyii2yii 2

### Embed Badge

![Health badge](/badges/seiweb-yii2-image/health.svg)

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

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M3.0k](/packages/craftcms-cms)[costa-rico/yii2-images

yii2 images module for storing images

16462.3k4](/packages/costa-rico-yii2-images)[intervention/image-driver-vips

libvips driver for Intervention Image

48177.4k11](/packages/intervention-image-driver-vips)[danihidayatx/image-optimizer

Optimize your Filament images before they reach your database. Forked from joshembling/image-optimizer for Filament v4 &amp; v5 support.

3218.1k](/packages/danihidayatx-image-optimizer)

PHPackages © 2026

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